home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / supercite.elc.z / supercite.elc
Emacs Compiled Lisp  |  1998-10-28  |  52.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 65 72 69 6b 40 6e 61 |piled by| erik@na|
|00000020| 67 67 75 6d 2e 6e 6f 20 | 6f 6e 20 53 75 6e 20 4a |ggum.no |on Sun J|
|00000030| 61 6e 20 31 34 20 30 36 | 3a 34 36 3a 35 38 20 31 |an 14 06|:46:58 1|
|00000040| 39 39 36 0a 3b 3b 3b 20 | 66 72 6f 6d 20 66 69 6c |996.;;; |from fil|
|00000050| 65 20 2f 67 64 2f 67 6e | 75 2f 65 6d 61 63 73 2f |e /gd/gn|u/emacs/|
|00000060| 31 39 2e 30 2f 6c 69 73 | 70 2f 73 75 70 65 72 63 |19.0/lis|p/superc|
|00000070| 69 74 65 2e 65 6c 0a 3b | 3b 3b 20 65 6d 61 63 73 |ite.el.;|;; emacs|
|00000080| 20 76 65 72 73 69 6f 6e | 20 31 39 2e 33 30 2e 37 | version| 19.30.7|
|00000090| 30 2e 36 2e 0a 3b 3b 3b | 20 62 79 74 65 63 6f 6d |0.6..;;;| bytecom|
|000000a0| 70 20 76 65 72 73 69 6f | 6e 20 46 53 46 20 32 2e |p versio|n FSF 2.|
|000000b0| 31 30 0a 3b 3b 3b 20 6f | 70 74 69 6d 69 7a 61 74 |10.;;; o|ptimizat|
|000000c0| 69 6f 6e 20 69 73 20 6f | 6e 2e 0a 3b 3b 3b 20 74 |ion is o|n..;;; t|
|000000d0| 68 69 73 20 66 69 6c 65 | 20 75 73 65 73 20 6f 70 |his file| uses op|
|000000e0| 63 6f 64 65 73 20 77 68 | 69 63 68 20 64 6f 20 6e |codes wh|ich do n|
|000000f0| 6f 74 20 65 78 69 73 74 | 20 69 6e 20 45 6d 61 63 |ot exist| in Emac|
|00000100| 73 20 31 38 2e 0a 0a 28 | 69 66 20 28 61 6e 64 20 |s 18...(|if (and |
|00000110| 28 62 6f 75 6e 64 70 20 | 27 65 6d 61 63 73 2d 76 |(boundp |'emacs-v|
|00000120| 65 72 73 69 6f 6e 29 0a | 09 20 28 6f 72 20 28 61 |ersion).|. (or (a|
|00000130| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 70 6f 63 |nd (boun|dp 'epoc|
|00000140| 68 3a 3a 76 65 72 73 69 | 6f 6e 29 20 65 70 6f 63 |h::versi|on) epoc|
|00000150| 68 3a 3a 76 65 72 73 69 | 6f 6e 29 0a 09 20 20 20 |h::versi|on).. |
|00000160| 20 20 28 73 74 72 69 6e | 67 2d 6c 65 73 73 70 20 | (strin|g-lessp |
|00000170| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 20 22 31 |emacs-ve|rsion "1|
|00000180| 39 2e 32 39 22 29 29 29 | 0a 20 20 20 20 28 65 72 |9.29")))|. (er|
|00000190| 72 6f 72 20 22 60 73 75 | 70 65 72 63 69 74 65 2e |ror "`su|percite.|
|000001a0| 65 6c 27 20 77 61 73 20 | 63 6f 6d 70 69 6c 65 64 |el' was |compiled|
|000001b0| 20 66 6f 72 20 45 6d 61 | 63 73 20 31 39 2e 32 39 | for Ema|cs 19.29|
|000001c0| 20 6f 72 20 6c 61 74 65 | 72 22 29 29 0a 0a 0a 28 | or late|r"))...(|
|000001d0| 72 65 71 75 69 72 65 20 | 28 71 75 6f 74 65 20 72 |require |(quote r|
|000001e0| 65 67 69 29 29 0a 23 40 | 37 33 20 2a 49 66 20 6e |egi)).#@|73 *If n|
|000001f0| 6f 6e 2d 6e 69 6c 2c 20 | 61 75 74 6f 6d 61 74 69 |on-nil, |automati|
|00000200| 63 61 6c 6c 79 20 66 69 | 6c 6c 20 65 61 63 68 20 |cally fi|ll each |
|00000210| 70 61 72 61 67 72 61 70 | 68 20 61 66 74 65 72 20 |paragrap|h after |
|00000220| 69 74 20 68 61 73 20 62 | 65 65 6e 20 63 69 74 65 |it has b|een cite|
|00000230| 64 2e 1f 0a 28 64 65 66 | 76 61 72 20 73 63 2d 61 |d...(def|var sc-a|
|00000240| 75 74 6f 2d 66 69 6c 6c | 2d 72 65 67 69 6f 6e 2d |uto-fill|-region-|
|00000250| 70 20 74 20 28 23 24 20 | 2e 20 2d 34 39 31 29 29 |p t (#$ |. -491))|
|00000260| 0a 23 40 31 33 36 20 2a | 4e 75 6d 62 65 72 20 6f |.#@136 *|Number o|
|00000270| 66 20 62 6c 61 6e 6b 20 | 6c 69 6e 65 73 20 74 6f |f blank |lines to|
|00000280| 20 6c 65 61 76 65 20 61 | 66 74 65 72 20 6d 61 69 | leave a|fter mai|
|00000290| 6c 20 68 65 61 64 65 72 | 73 20 68 61 76 65 20 62 |l header|s have b|
|000002a0| 65 65 6e 20 6e 75 6b 65 | 64 2e 0a 53 65 74 20 74 |een nuke|d..Set t|
|000002b0| 6f 20 6e 69 6c 2c 20 74 | 6f 20 75 73 65 20 77 68 |o nil, t|o use wh|
|000002c0| 61 74 65 76 65 72 20 62 | 6c 61 6e 6b 20 6c 69 6e |atever b|lank lin|
|000002d0| 65 73 20 68 61 70 70 65 | 6e 20 74 6f 20 6f 63 63 |es happe|n to occ|
|000002e0| 75 72 20 6e 61 74 75 72 | 61 6c 6c 79 2e 1f 0a 28 |ur natur|ally...(|
|000002f0| 64 65 66 76 61 72 20 73 | 63 2d 62 6c 61 6e 6b 2d |defvar s|c-blank-|
|00000300| 6c 69 6e 65 73 2d 61 66 | 74 65 72 2d 68 65 61 64 |lines-af|ter-head|
|00000310| 65 72 73 20 31 20 28 23 | 24 20 2e 20 2d 36 31 35 |ers 1 (#|$ . -615|
|00000320| 29 29 0a 23 40 34 36 20 | 2a 53 74 72 69 6e 67 20 |)).#@46 |*String |
|00000330| 63 6f 6d 70 72 69 73 69 | 6e 67 20 66 69 72 73 74 |comprisi|ng first|
|00000340| 20 70 61 72 74 20 6f 66 | 20 61 20 63 69 74 61 74 | part of| a citat|
|00000350| 69 6f 6e 2e 1f 0a 28 64 | 65 66 76 61 72 20 73 63 |ion...(d|efvar sc|
|00000360| 2d 63 69 74 61 74 69 6f | 6e 2d 6c 65 61 64 65 72 |-citatio|n-leader|
|00000370| 20 22 20 20 20 20 22 20 | 28 23 24 20 2e 20 2d 38 | " " |(#$ . -8|
|00000380| 30 38 29 29 0a 23 40 31 | 30 37 20 2a 53 74 72 69 |08)).#@1|07 *Stri|
|00000390| 6e 67 20 63 6f 6d 70 72 | 69 73 69 6e 67 20 74 68 |ng compr|ising th|
|000003a0| 69 72 64 20 70 61 72 74 | 20 6f 66 20 61 20 63 69 |ird part| of a ci|
|000003b0| 74 61 74 69 6f 6e 2e 0a | 54 68 69 73 20 73 74 72 |tation..|This str|
|000003c0| 69 6e 67 20 69 73 20 75 | 73 65 64 20 69 6e 20 62 |ing is u|sed in b|
|000003d0| 6f 74 68 20 6e 65 73 74 | 65 64 20 61 6e 64 20 6e |oth nest|ed and n|
|000003e0| 6f 6e 2d 6e 65 73 74 65 | 64 20 63 69 74 61 74 69 |on-neste|d citati|
|000003f0| 6f 6e 73 2e 1f 0a 28 64 | 65 66 76 61 72 20 73 63 |ons...(d|efvar sc|
|00000400| 2d 63 69 74 61 74 69 6f | 6e 2d 64 65 6c 69 6d 69 |-citatio|n-delimi|
|00000410| 74 65 72 20 22 3e 22 20 | 28 23 24 20 2e 20 2d 39 |ter ">" |(#$ . -9|
|00000420| 30 37 29 29 0a 23 40 35 | 36 20 2a 53 74 72 69 6e |07)).#@5|6 *Strin|
|00000430| 67 20 63 6f 6d 70 72 69 | 73 69 6e 67 20 66 6f 75 |g compri|sing fou|
|00000440| 72 74 68 20 61 6e 64 20 | 6c 61 73 74 20 70 61 72 |rth and |last par|
|00000450| 74 20 6f 66 20 61 20 63 | 69 74 61 74 69 6f 6e 2e |t of a c|itation.|
|00000460| 1f 0a 28 64 65 66 76 61 | 72 20 73 63 2d 63 69 74 |..(defva|r sc-cit|
|00000470| 61 74 69 6f 6e 2d 73 65 | 70 61 72 61 74 6f 72 20 |ation-se|parator |
|00000480| 22 20 22 20 28 23 24 20 | 2e 20 2d 31 30 36 36 29 |" " (#$ |. -1066)|
|00000490| 29 0a 23 40 31 30 30 20 | 2a 52 65 67 65 78 70 20 |).#@100 |*Regexp |
|000004a0| 64 65 73 63 72 69 62 69 | 6e 67 20 63 69 74 61 74 |describi|ng citat|
|000004b0| 69 6f 6e 20 6c 65 61 64 | 65 72 20 66 6f 72 20 61 |ion lead|er for a|
|000004c0| 20 63 69 74 65 64 20 6c | 69 6e 65 2e 0a 54 68 69 | cited l|ine..Thi|
|000004d0| 73 20 73 68 6f 75 6c 64 | 20 4e 4f 54 20 68 61 76 |s should| NOT hav|
|000004e0| 65 20 61 20 6c 65 61 64 | 69 6e 67 20 60 5e 27 20 |e a lead|ing `^' |
|000004f0| 63 68 61 72 61 63 74 65 | 72 2e 1f 0a 28 64 65 66 |characte|r...(def|
|00000500| 76 61 72 20 73 63 2d 63 | 69 74 61 74 69 6f 6e 2d |var sc-c|itation-|
|00000510| 6c 65 61 64 65 72 2d 72 | 65 67 65 78 70 20 22 5b |leader-r|egexp "[|
|00000520| 20 09 5d 2a 22 20 28 23 | 24 20 2e 20 2d 31 31 37 | .]*" (#|$ . -117|
|00000530| 36 29 29 0a 23 40 31 36 | 34 20 2a 52 65 67 65 78 |6)).#@16|4 *Regex|
|00000540| 70 20 64 65 73 63 72 69 | 62 69 6e 67 20 76 61 72 |p descri|bing var|
|00000550| 69 61 62 6c 65 20 72 6f | 6f 74 20 70 61 72 74 20 |iable ro|ot part |
|00000560| 6f 66 20 61 20 63 69 74 | 61 74 69 6f 6e 20 66 6f |of a cit|ation fo|
|00000570| 72 20 61 20 63 69 74 65 | 64 20 6c 69 6e 65 2e 0a |r a cite|d line..|
|00000580| 54 68 69 73 20 73 68 6f | 75 6c 64 20 4e 4f 54 20 |This sho|uld NOT |
|00000590| 68 61 76 65 20 61 20 6c | 65 61 64 69 6e 67 20 60 |have a l|eading `|
|000005a0| 5e 27 20 63 68 61 72 61 | 63 74 65 72 2e 20 20 53 |^' chara|cter. S|
|000005b0| 65 65 20 61 6c 73 6f 0a | 60 73 63 2d 63 69 74 61 |ee also.|`sc-cita|
|000005c0| 74 69 6f 6e 2d 6e 6f 6e | 6e 65 73 74 65 64 2d 72 |tion-non|nested-r|
|000005d0| 6f 6f 74 2d 72 65 67 65 | 78 70 27 2e 1f 0a 28 64 |oot-rege|xp'...(d|
|000005e0| 65 66 76 61 72 20 73 63 | 2d 63 69 74 61 74 69 6f |efvar sc|-citatio|
|000005f0| 6e 2d 72 6f 6f 74 2d 72 | 65 67 65 78 70 20 22 5b |n-root-r|egexp "[|
|00000600| 2d 2e 5f 61 2d 7a 41 2d | 5a 30 2d 39 5d 2a 22 20 |-._a-zA-|Z0-9]*" |
|00000610| 28 23 24 20 2e 20 2d 31 | 33 33 38 29 29 0a 23 40 |(#$ . -1|338)).#@|
|00000620| 32 39 37 20 2a 52 65 67 | 65 78 70 20 64 65 73 63 |297 *Reg|exp desc|
|00000630| 72 69 62 69 6e 67 20 74 | 68 65 20 76 61 72 69 61 |ribing t|he varia|
|00000640| 62 6c 65 20 72 6f 6f 74 | 20 70 61 72 74 20 6f 66 |ble root| part of|
|00000650| 20 61 20 6e 65 73 74 65 | 64 20 63 69 74 61 74 69 | a neste|d citati|
|00000660| 6f 6e 2e 0a 54 68 69 73 | 20 73 68 6f 75 6c 64 20 |on..This| should |
|00000670| 4e 4f 54 20 68 61 76 65 | 20 61 20 6c 65 61 64 69 |NOT have| a leadi|
|00000680| 6e 67 20 60 5e 27 20 63 | 68 61 72 61 63 74 65 72 |ng `^' c|haracter|
|00000690| 2e 20 20 54 68 69 73 20 | 76 61 72 69 61 62 6c 65 |. This |variable|
|000006a0| 20 69 73 0a 72 65 6c 61 | 74 65 64 20 74 6f 20 60 | is.rela|ted to `|
|000006b0| 73 63 2d 63 69 74 61 74 | 69 6f 6e 2d 72 6f 6f 74 |sc-citat|ion-root|
|000006c0| 2d 72 65 67 65 78 70 27 | 20 62 75 74 20 77 68 65 |-regexp'| but whe|
|000006d0| 72 65 61 73 20 74 68 61 | 74 20 76 61 72 69 61 62 |reas tha|t variab|
|000006e0| 6c 65 0a 64 65 73 63 72 | 69 62 65 73 20 62 6f 74 |le.descr|ibes bot|
|000006f0| 68 20 6e 65 73 74 65 64 | 20 61 6e 64 20 6e 6f 6e |h nested| and non|
|00000700| 2d 6e 65 73 74 65 64 20 | 63 69 74 61 74 69 6f 6e |-nested |citation|
|00000710| 20 72 6f 6f 74 73 2c 20 | 74 68 69 73 20 76 61 72 | roots, |this var|
|00000720| 69 61 62 6c 65 0a 64 65 | 73 63 72 69 62 65 73 20 |iable.de|scribes |
|00000730| 6f 6e 6c 79 20 6e 65 73 | 74 65 64 20 63 69 74 61 |only nes|ted cita|
|00000740| 74 69 6f 6e 20 72 6f 6f | 74 73 2e 1f 0a 28 64 65 |tion roo|ts...(de|
|00000750| 66 76 61 72 20 73 63 2d | 63 69 74 61 74 69 6f 6e |fvar sc-|citation|
|00000760| 2d 6e 6f 6e 6e 65 73 74 | 65 64 2d 72 6f 6f 74 2d |-nonnest|ed-root-|
|00000770| 72 65 67 65 78 70 20 22 | 5b 2d 2e 5f 61 2d 7a 41 |regexp "|[-._a-zA|
|00000780| 2d 5a 30 2d 39 5d 2b 22 | 20 28 23 24 20 2e 20 2d |-Z0-9]+"| (#$ . -|
|00000790| 31 35 37 32 29 29 0a 23 | 40 31 30 33 20 2a 52 65 |1572)).#|@103 *Re|
|000007a0| 67 65 78 70 20 64 65 73 | 63 72 69 62 69 6e 67 20 |gexp des|cribing |
|000007b0| 63 69 74 61 74 69 6f 6e | 20 64 65 6c 69 6d 69 74 |citation| delimit|
|000007c0| 65 72 20 66 6f 72 20 61 | 20 63 69 74 65 64 20 6c |er for a| cited l|
|000007d0| 69 6e 65 2e 0a 54 68 69 | 73 20 73 68 6f 75 6c 64 |ine..Thi|s should|
|000007e0| 20 4e 4f 54 20 68 61 76 | 65 20 61 20 6c 65 61 64 | NOT hav|e a lead|
|000007f0| 69 6e 67 20 60 5e 27 20 | 63 68 61 72 61 63 74 65 |ing `^' |characte|
|00000800| 72 2e 1f 0a 28 64 65 66 | 76 61 72 20 73 63 2d 63 |r...(def|var sc-c|
|00000810| 69 74 61 74 69 6f 6e 2d | 64 65 6c 69 6d 69 74 65 |itation-|delimite|
|00000820| 72 2d 72 65 67 65 78 70 | 20 22 5b 3e 5d 2b 22 20 |r-regexp| "[>]+" |
|00000830| 28 23 24 20 2e 20 2d 31 | 39 34 39 29 29 0a 23 40 |(#$ . -1|949)).#@|
|00000840| 31 30 33 20 2a 52 65 67 | 65 78 70 20 64 65 73 63 |103 *Reg|exp desc|
|00000850| 72 69 62 69 6e 67 20 63 | 69 74 61 74 69 6f 6e 20 |ribing c|itation |
|00000860| 73 65 70 61 72 61 74 6f | 72 20 66 6f 72 20 61 20 |separato|r for a |
|00000870| 63 69 74 65 64 20 6c 69 | 6e 65 2e 0a 54 68 69 73 |cited li|ne..This|
|00000880| 20 73 68 6f 75 6c 64 20 | 4e 4f 54 20 68 61 76 65 | should |NOT have|
|00000890| 20 61 20 6c 65 61 64 69 | 6e 67 20 60 5e 27 20 63 | a leadi|ng `^' c|
|000008a0| 68 61 72 61 63 74 65 72 | 2e 1f 0a 28 64 65 66 76 |haracter|...(defv|
|000008b0| 61 72 20 73 63 2d 63 69 | 74 61 74 69 6f 6e 2d 73 |ar sc-ci|tation-s|
|000008c0| 65 70 61 72 61 74 6f 72 | 2d 72 65 67 65 78 70 20 |eparator|-regexp |
|000008d0| 22 5b 20 09 5d 2a 22 20 | 28 23 24 20 2e 20 2d 32 |"[ .]*" |(#$ . -2|
|000008e0| 31 31 36 29 29 0a 23 40 | 34 35 20 2a 49 66 20 6e |116)).#@|45 *If n|
|000008f0| 6f 6e 2d 6e 69 6c 2c 20 | 70 75 74 20 61 20 63 69 |on-nil, |put a ci|
|00000900| 74 61 74 69 6f 6e 20 6f | 6e 20 62 6c 61 6e 6b 20 |tation o|n blank |
|00000910| 6c 69 6e 65 73 2e 1f 0a | 28 64 65 66 76 61 72 20 |lines...|(defvar |
|00000920| 73 63 2d 63 69 74 65 2d | 62 6c 61 6e 6b 2d 6c 69 |sc-cite-|blank-li|
|00000930| 6e 65 73 2d 70 20 6e 69 | 6c 20 28 23 24 20 2e 20 |nes-p ni|l (#$ . |
|00000940| 2d 32 32 38 33 29 29 0a | 23 40 33 36 30 20 2a 41 |-2283)).|#@360 *A|
|00000950| 6c 69 73 74 20 66 6f 72 | 20 66 72 61 6d 65 20 73 |list for| frame s|
|00000960| 65 6c 65 63 74 69 6f 6e | 20 64 75 72 69 6e 67 20 |election| during |
|00000970| 63 69 74 69 6e 67 2e 0a | 45 61 63 68 20 65 6c 65 |citing..|Each ele|
|00000980| 6d 65 6e 74 20 6f 66 20 | 74 68 69 73 20 6c 69 73 |ment of |this lis|
|00000990| 74 20 68 61 73 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |t has th|e follow|
|000009a0| 69 6e 67 20 66 6f 72 6d | 3a 0a 0a 20 20 20 28 49 |ing form|:.. (I|
|000009b0| 4e 46 4f 4b 45 59 20 28 | 28 52 45 47 45 58 50 20 |NFOKEY (|(REGEXP |
|000009c0| 2e 20 46 52 41 4d 45 29 | 0a 20 20 20 20 20 20 20 |. FRAME)|. |
|000009d0| 20 20 20 20 20 20 28 52 | 45 47 45 58 50 20 2e 20 | (R|EGEXP . |
|000009e0| 46 52 41 4d 45 29 0a 20 | 20 20 20 20 20 20 20 20 |FRAME). | |
|000009f0| 20 20 20 20 28 2e 2e 2e | 29 29 29 0a 0a 57 68 65 | (...|)))..Whe|
|00000a00| 72 65 20 49 4e 46 4f 4b | 45 59 20 69 73 20 61 20 |re INFOK|EY is a |
|00000a10| 6b 65 79 20 66 6f 72 20 | 60 73 63 2d 6d 61 69 6c |key for |`sc-mail|
|00000a20| 2d 66 69 65 6c 64 27 2c | 20 52 45 47 45 58 50 20 |-field',| REGEXP |
|00000a30| 69 73 20 61 20 72 65 67 | 75 6c 61 72 0a 65 78 70 |is a reg|ular.exp|
|00000a40| 72 65 73 73 69 6f 6e 20 | 74 6f 20 6d 61 74 63 68 |ression |to match|
|00000a50| 20 61 67 61 69 6e 73 74 | 20 74 68 65 20 49 4e 46 | against| the INF|
|00000a60| 4f 4b 45 59 27 73 20 76 | 61 6c 75 65 2e 20 20 46 |OKEY's v|alue. F|
|00000a70| 52 41 4d 45 20 69 73 20 | 61 20 63 69 74 61 74 69 |RAME is |a citati|
|00000a80| 6f 6e 0a 66 72 61 6d 65 | 2c 20 6f 72 20 61 20 76 |on.frame|, or a v|
|00000a90| 61 72 69 61 62 6c 65 20 | 63 6f 6e 74 61 69 6e 69 |ariable |containi|
|00000aa0| 6e 67 20 61 20 63 69 74 | 61 74 69 6f 6e 20 66 72 |ng a cit|ation fr|
|00000ab0| 61 6d 65 2e 1f 0a 28 64 | 65 66 76 61 72 20 73 63 |ame...(d|efvar sc|
|00000ac0| 2d 63 69 74 65 2d 66 72 | 61 6d 65 2d 61 6c 69 73 |-cite-fr|ame-alis|
|00000ad0| 74 20 6e 69 6c 20 28 23 | 24 20 2e 20 2d 32 33 38 |t nil (#|$ . -238|
|00000ae0| 32 29 29 0a 23 40 39 37 | 20 2a 41 6c 69 73 74 20 |2)).#@97| *Alist |
|00000af0| 66 6f 72 20 66 72 61 6d | 65 20 73 65 6c 65 63 74 |for fram|e select|
|00000b00| 69 6f 6e 20 64 75 72 69 | 6e 67 20 75 6e 63 69 74 |ion duri|ng uncit|
|00000b10| 69 6e 67 2e 0a 53 65 65 | 20 74 68 65 20 76 61 72 |ing..See| the var|
|00000b20| 69 61 62 6c 65 20 60 73 | 63 2d 63 69 74 65 2d 66 |iable `s|c-cite-f|
|00000b30| 72 61 6d 65 2d 61 6c 69 | 73 74 27 20 66 6f 72 20 |rame-ali|st' for |
|00000b40| 64 65 74 61 69 6c 73 2e | 1f 0a 28 64 65 66 76 61 |details.|..(defva|
|00000b50| 72 20 73 63 2d 75 6e 63 | 69 74 65 2d 66 72 61 6d |r sc-unc|ite-fram|
|00000b60| 65 2d 61 6c 69 73 74 20 | 6e 69 6c 20 28 23 24 20 |e-alist |nil (#$ |
|00000b70| 2e 20 2d 32 37 39 33 29 | 29 0a 23 40 39 37 20 2a |. -2793)|).#@97 *|
|00000b80| 41 6c 69 73 74 20 66 6f | 72 20 66 72 61 6d 65 20 |Alist fo|r frame |
|00000b90| 73 65 6c 65 63 74 69 6f | 6e 20 64 75 72 69 6e 67 |selectio|n during|
|00000ba0| 20 72 65 63 69 74 69 6e | 67 2e 0a 53 65 65 20 74 | recitin|g..See t|
|00000bb0| 68 65 20 76 61 72 69 61 | 62 6c 65 20 60 73 63 2d |he varia|ble `sc-|
|00000bc0| 63 69 74 65 2d 66 72 61 | 6d 65 2d 61 6c 69 73 74 |cite-fra|me-alist|
|00000bd0| 27 20 66 6f 72 20 64 65 | 74 61 69 6c 73 2e 1f 0a |' for de|tails...|
|00000be0| 28 64 65 66 76 61 72 20 | 73 63 2d 72 65 63 69 74 |(defvar |sc-recit|
|00000bf0| 65 2d 66 72 61 6d 65 2d | 61 6c 69 73 74 20 6e 69 |e-frame-|alist ni|
|00000c00| 6c 20 28 23 24 20 2e 20 | 2d 32 39 34 33 29 29 0a |l (#$ . |-2943)).|
|00000c10| 23 40 34 32 20 2a 44 65 | 66 61 75 6c 74 20 52 45 |#@42 *De|fault RE|
|00000c20| 47 49 20 66 72 61 6d 65 | 20 66 6f 72 20 63 69 74 |GI frame| for cit|
|00000c30| 69 6e 67 20 61 20 72 65 | 67 69 6f 6e 2e 1f 0a 28 |ing a re|gion...(|
|00000c40| 64 65 66 76 61 72 20 73 | 63 2d 64 65 66 61 75 6c |defvar s|c-defaul|
|00000c50| 74 2d 63 69 74 65 2d 66 | 72 61 6d 65 20 28 71 75 |t-cite-f|rame (qu|
|00000c60| 6f 74 65 20 28 28 62 65 | 67 69 6e 20 28 70 72 6f |ote ((be|gin (pro|
|00000c70| 67 6e 20 28 73 63 2d 66 | 69 6c 6c 2d 69 66 2d 64 |gn (sc-f|ill-if-d|
|00000c80| 69 66 66 65 72 65 6e 74 | 29 20 28 73 65 74 71 20 |ifferent|) (setq |
|00000c90| 73 63 2d 74 6d 70 2d 6e | 65 73 74 65 64 2d 72 65 |sc-tmp-n|ested-re|
|00000ca0| 67 65 78 70 20 28 73 63 | 2d 63 69 74 65 2d 72 65 |gexp (sc|-cite-re|
|00000cb0| 67 65 78 70 20 22 22 29 | 20 73 63 2d 74 6d 70 2d |gexp "")| sc-tmp-|
|00000cc0| 6e 6f 6e 6e 65 73 74 65 | 64 2d 72 65 67 65 78 70 |nonneste|d-regexp|
|00000cd0| 20 28 73 63 2d 63 69 74 | 65 2d 72 65 67 65 78 70 | (sc-cit|e-regexp|
|00000ce0| 29 20 73 63 2d 74 6d 70 | 2d 64 75 6d 62 2d 72 65 |) sc-tmp|-dumb-re|
|00000cf0| 67 65 78 70 20 28 63 6f | 6e 63 61 74 20 22 5c 5c |gexp (co|ncat "\\|
|00000d00| 28 22 20 28 73 63 2d 63 | 69 74 65 2d 72 65 67 65 |(" (sc-c|ite-rege|
|00000d10| 78 70 20 22 22 29 20 22 | 5c 5c 29 22 20 28 73 63 |xp "") "|\\)" (sc|
|00000d20| 2d 63 69 74 65 2d 72 65 | 67 65 78 70 20 73 63 2d |-cite-re|gexp sc-|
|00000d30| 63 69 74 61 74 69 6f 6e | 2d 6e 6f 6e 6e 65 73 74 |citation|-nonnest|
|00000d40| 65 64 2d 72 6f 6f 74 2d | 72 65 67 65 78 70 29 29 |ed-root-|regexp))|
|00000d50| 29 29 29 20 28 22 5e 5b | 20 09 5d 2a 24 22 20 28 |))) ("^[| .]*$" (|
|00000d60| 69 66 20 73 63 2d 63 69 | 74 65 2d 62 6c 61 6e 6b |if sc-ci|te-blank|
|00000d70| 2d 6c 69 6e 65 73 2d 70 | 20 28 73 63 2d 63 69 74 |-lines-p| (sc-cit|
|00000d80| 65 2d 6c 69 6e 65 29 20 | 28 73 63 2d 66 69 6c 6c |e-line) |(sc-fill|
|00000d90| 2d 69 66 2d 64 69 66 66 | 65 72 65 6e 74 20 22 22 |-if-diff|erent ""|
|00000da0| 29 29 29 20 28 73 63 2d | 72 65 66 65 72 65 6e 63 |))) (sc-|referenc|
|00000db0| 65 2d 74 61 67 2d 73 74 | 72 69 6e 67 20 28 69 66 |e-tag-st|ring (if|
|00000dc0| 20 28 73 74 72 69 6e 67 | 3d 20 73 63 2d 72 65 66 | (string|= sc-ref|
|00000dd0| 65 72 65 6e 63 65 2d 74 | 61 67 2d 73 74 72 69 6e |erence-t|ag-strin|
|00000de0| 67 20 22 22 29 20 28 6c | 69 73 74 20 28 71 75 6f |g "") (l|ist (quo|
|00000df0| 74 65 20 63 6f 6e 74 69 | 6e 75 65 29 29 20 6e 69 |te conti|nue)) ni|
|00000e00| 6c 29 29 20 28 73 63 2d | 74 6d 70 2d 64 75 6d 62 |l)) (sc-|tmp-dumb|
|00000e10| 2d 72 65 67 65 78 70 20 | 28 73 63 2d 63 69 74 65 |-regexp |(sc-cite|
|00000e20| 2d 63 6f 65 72 63 65 2d | 64 75 6d 62 2d 63 69 74 |-coerce-|dumb-cit|
|00000e30| 65 72 29 29 20 28 73 63 | 2d 74 6d 70 2d 6e 65 73 |er)) (sc|-tmp-nes|
|00000e40| 74 65 64 2d 72 65 67 65 | 78 70 20 28 73 63 2d 61 |ted-rege|xp (sc-a|
|00000e50| 64 64 2d 63 69 74 61 74 | 69 6f 6e 2d 6c 65 76 65 |dd-citat|ion-leve|
|00000e60| 6c 29 29 20 28 73 63 2d | 74 6d 70 2d 6e 6f 6e 6e |l)) (sc-|tmp-nonn|
|00000e70| 65 73 74 65 64 2d 72 65 | 67 65 78 70 20 28 73 63 |ested-re|gexp (sc|
|00000e80| 2d 63 69 74 65 2d 63 6f | 65 72 63 65 2d 63 69 74 |-cite-co|erce-cit|
|00000e90| 65 64 2d 6c 69 6e 65 29 | 29 20 28 73 63 2d 6e 65 |ed-line)|) (sc-ne|
|00000ea0| 73 74 65 64 2d 63 69 74 | 61 74 69 6f 6e 2d 70 20 |sted-cit|ation-p |
|00000eb0| 28 73 63 2d 61 64 64 2d | 63 69 74 61 74 69 6f 6e |(sc-add-|citation|
|00000ec0| 2d 6c 65 76 65 6c 29 29 | 20 28 74 20 28 73 63 2d |-level))| (t (sc-|
|00000ed0| 63 69 74 65 2d 6c 69 6e | 65 29 29 20 28 65 6e 64 |cite-lin|e)) (end|
|00000ee0| 20 28 73 63 2d 66 69 6c | 6c 2d 69 66 2d 64 69 66 | (sc-fil|l-if-dif|
|00000ef0| 66 65 72 65 6e 74 20 22 | 22 29 29 29 29 20 28 23 |ferent "|")))) (#|
|00000f00| 24 20 2e 20 2d 33 30 39 | 33 29 29 0a 23 40 34 34 |$ . -309|3)).#@44|
|00000f10| 20 2a 44 65 66 61 75 6c | 74 20 52 45 47 49 20 66 | *Defaul|t REGI f|
|00000f20| 72 61 6d 65 20 66 6f 72 | 20 75 6e 63 69 74 69 6e |rame for| uncitin|
|00000f30| 67 20 61 20 72 65 67 69 | 6f 6e 2e 1f 0a 28 64 65 |g a regi|on...(de|
|00000f40| 66 76 61 72 20 73 63 2d | 64 65 66 61 75 6c 74 2d |fvar sc-|default-|
|00000f50| 75 6e 63 69 74 65 2d 66 | 72 61 6d 65 20 28 71 75 |uncite-f|rame (qu|
|00000f60| 6f 74 65 20 28 28 22 5e | 5b 20 09 5d 2a 24 22 20 |ote (("^|[ .]*$" |
|00000f70| 6e 69 6c 29 20 28 28 73 | 63 2d 63 69 74 65 2d 72 |nil) ((s|c-cite-r|
|00000f80| 65 67 65 78 70 29 20 28 | 73 63 2d 75 6e 63 69 74 |egexp) (|sc-uncit|
|00000f90| 65 2d 6c 69 6e 65 29 29 | 29 29 20 28 23 24 20 2e |e-line))|)) (#$ .|
|00000fa0| 20 2d 33 38 35 37 29 29 | 0a 23 40 34 34 20 2a 44 | -3857))|.#@44 *D|
|00000fb0| 65 66 61 75 6c 74 20 52 | 45 47 49 20 66 72 61 6d |efault R|EGI fram|
|00000fc0| 65 20 66 6f 72 20 72 65 | 63 69 74 69 6e 67 20 61 |e for re|citing a|
|00000fd0| 20 72 65 67 69 6f 6e 2e | 1f 0a 28 64 65 66 76 61 | region.|..(defva|
|00000fe0| 72 20 73 63 2d 64 65 66 | 61 75 6c 74 2d 72 65 63 |r sc-def|ault-rec|
|00000ff0| 69 74 65 2d 66 72 61 6d | 65 20 28 71 75 6f 74 65 |ite-fram|e (quote|
|00001000| 20 28 28 62 65 67 69 6e | 20 28 73 63 2d 66 69 6c | ((begin| (sc-fil|
|00001010| 6c 2d 69 66 2d 64 69 66 | 66 65 72 65 6e 74 29 29 |l-if-dif|ferent))|
|00001020| 20 28 22 5e 5b 20 09 5d | 2a 24 22 20 6e 69 6c 29 | ("^[ .]|*$" nil)|
|00001030| 20 28 28 73 63 2d 63 69 | 74 65 2d 72 65 67 65 78 | ((sc-ci|te-regex|
|00001040| 70 29 20 28 73 63 2d 72 | 65 63 69 74 65 2d 6c 69 |p) (sc-r|ecite-li|
|00001050| 6e 65 20 28 73 63 2d 63 | 69 74 65 2d 72 65 67 65 |ne (sc-c|ite-rege|
|00001060| 78 70 29 29 29 20 28 74 | 20 28 73 63 2d 63 69 74 |xp))) (t| (sc-cit|
|00001070| 65 2d 6c 69 6e 65 29 29 | 20 28 65 6e 64 20 28 73 |e-line))| (end (s|
|00001080| 63 2d 66 69 6c 6c 2d 69 | 66 2d 64 69 66 66 65 72 |c-fill-i|f-differ|
|00001090| 65 6e 74 20 22 22 29 29 | 29 29 20 28 23 24 20 2e |ent ""))|)) (#$ .|
|000010a0| 20 2d 34 30 31 34 29 29 | 0a 23 40 37 31 32 20 2a | -4014))|.#@712 *|
|000010b0| 54 68 69 73 20 76 61 72 | 69 61 62 6c 65 20 63 6f |This var|iable co|
|000010c0| 6e 74 72 6f 6c 73 20 61 | 75 74 6f 6d 61 74 69 63 |ntrols a|utomatic|
|000010d0| 20 63 69 74 61 74 69 6f | 6e 20 6f 66 20 79 61 6e | citatio|n of yan|
|000010e0| 6b 65 64 20 74 65 78 74 | 2e 0a 4c 65 67 61 6c 20 |ked text|..Legal |
|000010f0| 76 61 6c 75 65 73 20 61 | 72 65 3a 0a 0a 6e 6f 6e |values a|re:..non|
|00001100| 2d 6e 69 6c 20 20 20 2d | 2d 20 63 69 74 65 20 74 |-nil -|- cite t|
|00001110| 68 65 20 65 6e 74 69 72 | 65 20 72 65 67 69 6f 6e |he entir|e region|
|00001120| 2c 20 72 65 67 61 72 64 | 6c 65 73 73 20 6f 66 20 |, regard|less of |
|00001130| 69 74 73 20 73 69 7a 65 | 0a 6e 69 6c 20 20 20 20 |its size|.nil |
|00001140| 20 20 20 2d 2d 20 64 6f | 20 6e 6f 74 20 63 69 74 | -- do| not cit|
|00001150| 65 20 74 68 65 20 72 65 | 67 69 6f 6e 20 61 74 20 |e the re|gion at |
|00001160| 61 6c 6c 0a 3c 69 6e 74 | 65 67 65 72 3e 20 2d 2d |all.<int|eger> --|
|00001170| 20 61 20 6e 75 6d 62 65 | 72 20 69 6e 64 69 63 61 | a numbe|r indica|
|00001180| 74 69 6e 67 20 74 68 65 | 20 74 68 72 65 73 68 6f |ting the| thresho|
|00001190| 6c 64 20 66 6f 72 20 63 | 69 74 61 74 69 6f 6e 2e |ld for c|itation.|
|000011a0| 20 20 57 68 65 6e 0a 09 | 20 20 20 20 20 74 68 65 | When..| the|
|000011b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|000011c0| 20 69 6e 20 74 68 65 20 | 72 65 67 69 6f 6e 20 69 | in the |region i|
|000011d0| 73 20 67 72 65 61 74 65 | 72 20 74 68 61 6e 20 74 |s greate|r than t|
|000011e0| 68 69 73 0a 09 20 20 20 | 20 20 76 61 6c 75 65 2c |his.. | value,|
|000011f0| 20 61 20 77 61 72 6e 69 | 6e 67 20 6d 65 73 73 61 | a warni|ng messa|
|00001200| 67 65 20 77 69 6c 6c 20 | 62 65 20 70 72 69 6e 74 |ge will |be print|
|00001210| 65 64 20 61 6e 64 20 74 | 68 65 20 72 65 67 69 6f |ed and t|he regio|
|00001220| 6e 0a 09 20 20 20 20 20 | 77 69 6c 6c 20 6e 6f 74 |n.. |will not|
|00001230| 20 62 65 20 63 69 74 65 | 64 2e 20 20 4c 69 6e 65 | be cite|d. Line|
|00001240| 73 20 69 6e 20 72 65 67 | 69 6f 6e 20 61 72 65 20 |s in reg|ion are |
|00001250| 63 6f 75 6e 74 65 64 20 | 77 69 74 68 0a 09 20 20 |counted |with.. |
|00001260| 20 20 20 60 63 6f 75 6e | 74 2d 6c 69 6e 65 73 27 | `coun|t-lines'|
|00001270| 2e 20 0a 0a 54 68 65 20 | 67 61 74 68 65 72 69 6e |. ..The |gatherin|
|00001280| 67 20 6f 66 20 61 74 74 | 72 69 62 75 74 69 6f 6e |g of att|ribution|
|00001290| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 69 73 20 | informa|tion is |
|000012a0| 6e 6f 74 20 61 66 66 65 | 63 74 65 64 20 62 79 20 |not affe|cted by |
|000012b0| 74 68 65 20 76 61 6c 75 | 65 0a 6f 66 20 74 68 69 |the valu|e.of thi|
|000012c0| 73 20 76 61 72 69 61 62 | 6c 65 2e 20 20 54 68 65 |s variab|le. The|
|000012d0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|000012e0| 20 69 6e 20 74 68 65 20 | 72 65 67 69 6f 6e 20 69 | in the |region i|
|000012f0| 73 20 63 61 6c 63 75 6c | 61 74 65 64 0a 2a 61 66 |s calcul|ated.*af|
|00001300| 74 65 72 2a 20 61 6c 6c | 20 6d 61 69 6c 20 68 65 |ter* all| mail he|
|00001310| 61 64 65 72 73 20 61 72 | 65 20 72 65 6d 6f 76 65 |aders ar|e remove|
|00001320| 64 2e 20 20 54 68 69 73 | 20 76 61 72 69 61 62 6c |d. This| variabl|
|00001330| 65 20 69 73 20 6f 6e 6c | 79 20 63 6f 6e 73 75 6c |e is onl|y consul|
|00001340| 74 65 64 0a 64 75 72 69 | 6e 67 20 74 68 65 20 69 |ted.duri|ng the i|
|00001350| 6e 69 74 69 61 6c 20 63 | 69 74 69 6e 67 20 76 69 |nitial c|iting vi|
|00001360| 61 20 60 73 63 2d 63 69 | 74 65 2d 6f 72 69 67 69 |a `sc-ci|te-origi|
|00001370| 6e 61 6c 27 2e 1f 0a 28 | 64 65 66 76 61 72 20 73 |nal'...(|defvar s|
|00001380| 63 2d 63 69 74 65 2d 72 | 65 67 69 6f 6e 2d 6c 69 |c-cite-r|egion-li|
|00001390| 6d 69 74 20 74 20 28 23 | 24 20 2e 20 2d 34 32 37 |mit t (#|$ . -427|
|000013a0| 31 29 29 0a 23 40 37 33 | 20 2a 49 66 20 6e 6f 6e |1)).#@73| *If non|
|000013b0| 2d 6e 69 6c 2c 20 61 6c | 77 61 79 73 20 63 6f 6e |-nil, al|ways con|
|000013c0| 66 69 72 6d 20 61 74 74 | 72 69 62 75 74 69 6f 6e |firm att|ribution|
|000013d0| 20 73 74 72 69 6e 67 20 | 62 65 66 6f 72 65 20 63 | string |before c|
|000013e0| 69 74 69 6e 67 20 74 65 | 78 74 20 62 6f 64 79 2e |iting te|xt body.|
|000013f0| 1f 0a 28 64 65 66 76 61 | 72 20 73 63 2d 63 6f 6e |..(defva|r sc-con|
|00001400| 66 69 72 6d 2d 61 6c 77 | 61 79 73 2d 70 20 74 20 |firm-alw|ays-p t |
|00001410| 28 23 24 20 2e 20 2d 35 | 30 33 33 29 29 0a 23 40 |(#$ . -5|033)).#@|
|00001420| 36 32 20 2a 53 74 72 69 | 6e 67 20 75 73 65 64 20 |62 *Stri|ng used |
|00001430| 77 68 65 6e 20 61 75 74 | 68 6f 72 27 73 20 61 74 |when aut|hor's at|
|00001440| 74 72 69 62 75 74 69 6f | 6e 20 63 61 6e 6e 6f 74 |tributio|n cannot|
|00001450| 20 62 65 20 64 65 74 65 | 72 6d 69 6e 65 64 2e 1f | be dete|rmined..|
|00001460| 0a 28 64 65 66 76 61 72 | 20 73 63 2d 64 65 66 61 |.(defvar| sc-defa|
|00001470| 75 6c 74 2d 61 74 74 72 | 69 62 75 74 69 6f 6e 20 |ult-attr|ibution |
|00001480| 22 41 6e 6f 6e 22 20 28 | 23 24 20 2e 20 2d 35 31 |"Anon" (|#$ . -51|
|00001490| 35 35 29 29 0a 23 40 35 | 35 20 2a 53 74 72 69 6e |55)).#@5|5 *Strin|
|000014a0| 67 20 75 73 65 64 20 77 | 68 65 6e 20 61 75 74 68 |g used w|hen auth|
|000014b0| 6f 72 27 73 20 6e 61 6d | 65 20 63 61 6e 6e 6f 74 |or's nam|e cannot|
|000014c0| 20 62 65 20 64 65 74 65 | 72 6d 69 6e 65 64 2e 1f | be dete|rmined..|
|000014d0| 0a 28 64 65 66 76 61 72 | 20 73 63 2d 64 65 66 61 |.(defvar| sc-defa|
|000014e0| 75 6c 74 2d 61 75 74 68 | 6f 72 2d 6e 61 6d 65 20 |ult-auth|or-name |
|000014f0| 22 41 6e 6f 6e 79 6d 6f | 75 73 22 20 28 23 24 20 |"Anonymo|us" (#$ |
|00001500| 2e 20 2d 35 32 37 34 29 | 29 0a 23 40 36 33 20 2a |. -5274)|).#@63 *|
|00001510| 4e 6f 6e 2d 6e 69 6c 20 | 6d 65 61 6e 73 20 64 6f |Non-nil |means do|
|00001520| 77 6e 63 61 73 65 20 74 | 68 65 20 61 74 74 72 69 |wncase t|he attri|
|00001530| 62 75 74 69 6f 6e 20 61 | 6e 64 20 63 69 74 61 74 |bution a|nd citat|
|00001540| 69 6f 6e 20 73 74 72 69 | 6e 67 73 2e 1f 0a 28 64 |ion stri|ngs...(d|
|00001550| 65 66 76 61 72 20 73 63 | 2d 64 6f 77 6e 63 61 73 |efvar sc|-downcas|
|00001560| 65 2d 70 20 6e 69 6c 20 | 28 23 24 20 2e 20 2d 35 |e-p nil |(#$ . -5|
|00001570| 33 39 31 29 29 0a 23 40 | 35 33 20 2a 49 66 20 6e |391)).#@|53 *If n|
|00001580| 6f 6e 2d 6e 69 6c 2c 20 | 74 72 65 61 74 20 65 6c |on-nil, |treat el|
|00001590| 65 63 74 72 69 63 20 72 | 65 66 65 72 65 6e 63 65 |ectric r|eference|
|000015a0| 73 20 61 73 20 63 69 72 | 63 75 6c 61 72 2e 1f 0a |s as cir|cular...|
|000015b0| 28 64 65 66 76 61 72 20 | 73 63 2d 65 6c 65 63 74 |(defvar |sc-elect|
|000015c0| 72 69 63 2d 63 69 72 63 | 75 6c 61 72 2d 70 20 74 |ric-circ|ular-p t|
|000015d0| 20 28 23 24 20 2e 20 2d | 35 34 39 39 29 29 0a 23 | (#$ . -|5499)).#|
|000015e0| 40 35 36 20 2a 48 6f 6f | 6b 20 66 6f 72 20 60 73 |@56 *Hoo|k for `s|
|000015f0| 63 2d 65 6c 65 63 74 72 | 69 63 2d 6d 6f 64 65 27 |c-electr|ic-mode'|
|00001600| 20 65 6c 65 63 74 72 69 | 63 20 72 65 66 65 72 65 | electri|c refere|
|00001610| 6e 63 65 73 20 6d 6f 64 | 65 2e 1f 0a 28 64 65 66 |nces mod|e...(def|
|00001620| 76 61 72 20 73 63 2d 65 | 6c 65 63 74 72 69 63 2d |var sc-e|lectric-|
|00001630| 6d 6f 64 65 2d 68 6f 6f | 6b 20 6e 69 6c 20 28 23 |mode-hoo|k nil (#|
|00001640| 24 20 2e 20 2d 35 36 30 | 34 29 29 0a 23 40 33 38 |$ . -560|4)).#@38|
|00001650| 20 2a 55 73 65 20 65 6c | 65 63 74 72 69 63 20 72 | *Use el|ectric r|
|00001660| 65 66 65 72 65 6e 63 65 | 73 20 69 66 20 6e 6f 6e |eference|s if non|
|00001670| 2d 6e 69 6c 2e 1f 0a 28 | 64 65 66 76 61 72 20 73 |-nil...(|defvar s|
|00001680| 63 2d 65 6c 65 63 74 72 | 69 63 2d 72 65 66 65 72 |c-electr|ic-refer|
|00001690| 65 6e 63 65 73 2d 70 20 | 6e 69 6c 20 28 23 24 20 |ences-p |nil (#$ |
|000016a0| 2e 20 2d 35 37 31 33 29 | 29 0a 23 40 36 30 20 2a |. -5713)|).#@60 *|
|000016b0| 49 66 20 6e 6f 6e 2d 6e | 69 6c 2c 20 64 65 6c 65 |If non-n|il, dele|
|000016c0| 74 65 20 61 6c 6c 20 6c | 65 61 64 69 6e 67 20 77 |te all l|eading w|
|000016d0| 68 69 74 65 20 73 70 61 | 63 65 20 62 65 66 6f 72 |hite spa|ce befor|
|000016e0| 65 20 63 69 74 69 6e 67 | 2e 1f 0a 28 64 65 66 76 |e citing|...(defv|
|000016f0| 61 72 20 73 63 2d 66 69 | 78 75 70 2d 77 68 69 74 |ar sc-fi|xup-whit|
|00001700| 65 73 70 61 63 65 2d 70 | 20 6e 69 6c 20 28 23 24 |espace-p| nil (#$|
|00001710| 20 2e 20 2d 35 38 30 37 | 29 29 0a 23 40 35 30 20 | . -5807|)).#@50 |
|00001720| 2a 48 6f 6f 6b 20 77 68 | 69 63 68 20 67 65 74 73 |*Hook wh|ich gets|
|00001730| 20 72 75 6e 20 6f 6e 63 | 65 20 61 66 74 65 72 20 | run onc|e after |
|00001740| 53 75 70 65 72 63 69 74 | 65 20 6c 6f 61 64 73 2e |Supercit|e loads.|
|00001750| 1f 0a 28 64 65 66 76 61 | 72 20 73 63 2d 6c 6f 61 |..(defva|r sc-loa|
|00001760| 64 2d 68 6f 6f 6b 20 6e | 69 6c 20 28 23 24 20 2e |d-hook n|il (#$ .|
|00001770| 20 2d 35 39 32 30 29 29 | 0a 23 40 36 38 20 2a 48 | -5920))|.#@68 *H|
|00001780| 6f 6f 6b 20 77 68 69 63 | 68 20 67 65 74 73 20 72 |ook whic|h gets r|
|00001790| 75 6e 20 62 65 66 6f 72 | 65 20 65 61 63 68 20 69 |un befor|e each i|
|000017a0| 6e 76 6f 63 61 74 69 6f | 6e 20 6f 66 20 60 73 63 |nvocatio|n of `sc|
|000017b0| 2d 63 69 74 65 2d 6f 72 | 69 67 69 6e 61 6c 27 2e |-cite-or|iginal'.|
|000017c0| 1f 0a 28 64 65 66 76 61 | 72 20 73 63 2d 70 72 65 |..(defva|r sc-pre|
|000017d0| 2d 68 6f 6f 6b 20 6e 69 | 6c 20 28 23 24 20 2e 20 |-hook ni|l (#$ . |
|000017e0| 2d 36 30 31 34 29 29 0a | 23 40 36 37 20 2a 48 6f |-6014)).|#@67 *Ho|
|000017f0| 6f 6b 20 77 68 69 63 68 | 20 67 65 74 73 20 72 75 |ok which| gets ru|
|00001800| 6e 20 61 66 74 65 72 20 | 65 61 63 68 20 69 6e 76 |n after |each inv|
|00001810| 6f 63 61 74 69 6f 6e 20 | 6f 66 20 60 73 63 2d 63 |ocation |of `sc-c|
|00001820| 69 74 65 2d 6f 72 69 67 | 69 6e 61 6c 27 2e 1f 0a |ite-orig|inal'...|
|00001830| 28 64 65 66 76 61 72 20 | 73 63 2d 70 6f 73 74 2d |(defvar |sc-post-|
|00001840| 68 6f 6f 6b 20 6e 69 6c | 20 28 23 24 20 2e 20 2d |hook nil| (#$ . -|
|00001850| 36 31 32 35 29 29 0a 23 | 40 34 38 20 2a 57 61 72 |6125)).#|@48 *War|
|00001860| 6e 20 69 66 20 6d 61 69 | 6c 20 68 65 61 64 65 72 |n if mai|l header|
|00001870| 73 20 64 6f 6e 27 74 20 | 63 6f 6e 66 6f 72 6d 20 |s don't |conform |
|00001880| 74 6f 20 52 46 43 38 32 | 32 2e 1f 0a 28 64 65 66 |to RFC82|2...(def|
|00001890| 76 61 72 20 73 63 2d 6d | 61 69 6c 2d 77 61 72 6e |var sc-m|ail-warn|
|000018a0| 2d 69 66 2d 6e 6f 6e 2d | 72 66 63 38 32 32 2d 70 |-if-non-|rfc822-p|
|000018b0| 20 74 20 28 23 24 20 2e | 20 2d 36 32 33 36 29 29 | t (#$ .| -6236))|
|000018c0| 0a 23 40 36 38 20 2a 56 | 61 6c 75 65 20 72 65 74 |.#@68 *V|alue ret|
|000018d0| 75 72 6e 65 64 20 62 79 | 20 60 73 63 2d 6d 61 69 |urned by| `sc-mai|
|000018e0| 6c 2d 66 69 65 6c 64 27 | 20 69 66 20 66 69 65 6c |l-field'| if fiel|
|000018f0| 64 20 69 73 6e 27 74 20 | 69 6e 20 6d 61 69 6c 20 |d isn't |in mail |
|00001900| 68 65 61 64 65 72 73 2e | 1f 0a 28 64 65 66 76 61 |headers.|..(defva|
|00001910| 72 20 73 63 2d 6d 75 6d | 62 6c 65 20 22 22 20 28 |r sc-mum|ble "" (|
|00001920| 23 24 20 2e 20 2d 36 33 | 34 32 29 29 0a 23 40 34 |#$ . -63|42)).#@4|
|00001930| 37 34 20 2a 4e 61 6d 65 | 20 6c 69 73 74 20 63 6f |74 *Name| list co|
|00001940| 6d 70 6f 6e 65 6e 74 73 | 20 77 68 69 63 68 20 61 |mponents| which a|
|00001950| 72 65 20 66 69 6c 74 65 | 72 65 64 20 6f 75 74 20 |re filte|red out |
|00001960| 61 73 20 6e 6f 69 73 65 | 2e 0a 54 68 69 73 20 76 |as noise|..This v|
|00001970| 61 72 69 61 62 6c 65 20 | 63 6f 6e 74 61 69 6e 73 |ariable |contains|
|00001980| 20 61 6e 20 61 73 73 6f | 63 69 61 74 69 6f 6e 20 | an asso|ciation |
|00001990| 6c 69 73 74 20 77 68 65 | 72 65 20 65 61 63 68 20 |list whe|re each |
|000019a0| 65 6c 65 6d 65 6e 74 20 | 69 73 20 6f 66 0a 74 68 |element |is of.th|
|000019b0| 65 20 66 6f 72 6d 3a 20 | 20 28 52 45 47 45 58 50 |e form: | (REGEXP|
|000019c0| 20 2e 20 50 4f 53 49 54 | 49 4f 4e 29 2e 0a 0a 52 | . POSIT|ION)...R|
|000019d0| 45 47 45 58 50 20 69 73 | 20 61 20 72 65 67 75 6c |EGEXP is| a regul|
|000019e0| 61 72 20 65 78 70 72 65 | 73 73 69 6f 6e 20 77 68 |ar expre|ssion wh|
|000019f0| 69 63 68 20 6d 61 74 63 | 68 65 73 20 74 68 65 20 |ich matc|hes the |
|00001a00| 6e 61 6d 65 20 6c 69 73 | 74 20 63 6f 6d 70 6f 6e |name lis|t compon|
|00001a10| 65 6e 74 2e 0a 4d 61 74 | 63 68 20 69 73 20 70 65 |ent..Mat|ch is pe|
|00001a20| 72 66 6f 72 6d 65 64 20 | 75 73 69 6e 67 20 60 73 |rformed |using `s|
|00001a30| 74 72 69 6e 67 2d 6d 61 | 74 63 68 27 2e 20 20 50 |tring-ma|tch'. P|
|00001a40| 4f 53 49 54 49 4f 4e 20 | 69 73 20 74 68 65 20 70 |OSITION |is the p|
|00001a50| 6f 73 69 74 69 6f 6e 20 | 69 6e 0a 74 68 65 20 6e |osition |in.the n|
|00001a60| 61 6d 65 20 6c 69 73 74 | 20 77 68 69 63 68 20 63 |ame list| which c|
|00001a70| 61 6e 20 6d 61 74 63 68 | 20 74 68 65 20 72 65 67 |an match| the reg|
|00001a80| 75 6c 61 72 20 65 78 70 | 72 65 73 73 69 6f 6e 2c |ular exp|ression,|
|00001a90| 20 73 74 61 72 74 69 6e | 67 20 61 74 20 7a 65 72 | startin|g at zer|
|00001aa0| 6f 0a 66 6f 72 20 74 68 | 65 20 66 69 72 73 74 20 |o.for th|e first |
|00001ab0| 65 6c 65 6d 65 6e 74 2e | 20 20 55 73 65 20 60 6c |element.| Use `l|
|00001ac0| 61 73 74 27 20 74 6f 20 | 6d 61 74 63 68 20 74 68 |ast' to |match th|
|00001ad0| 65 20 6c 61 73 74 20 65 | 6c 65 6d 65 6e 74 20 69 |e last e|lement i|
|00001ae0| 6e 20 74 68 65 0a 6c 69 | 73 74 20 61 6e 64 20 60 |n the.li|st and `|
|00001af0| 61 6e 79 27 20 74 6f 20 | 6d 61 74 63 68 20 61 6c |any' to |match al|
|00001b00| 6c 20 65 6c 65 6d 65 6e | 74 73 2e 1f 0a 28 64 65 |l elemen|ts...(de|
|00001b10| 66 76 61 72 20 73 63 2d | 6e 61 6d 65 2d 66 69 6c |fvar sc-|name-fil|
|00001b20| 74 65 72 2d 61 6c 69 73 | 74 20 28 71 75 6f 74 65 |ter-alis|t (quote|
|00001b30| 20 28 28 22 5e 5c 5c 28 | 4d 72 5c 5c 7c 4d 72 73 | (("^\\(|Mr\\|Mrs|
|00001b40| 5c 5c 7c 4d 73 5c 5c 7c | 44 72 5c 5c 29 5b 2e 5d |\\|Ms\\||Dr\\)[.]|
|00001b50| 3f 24 22 20 2e 20 30 29 | 20 28 22 5e 5c 5c 28 4a |?$" . 0)| ("^\\(J|
|00001b60| 72 5c 5c 7c 53 72 5c 5c | 29 5b 2e 5d 3f 24 22 20 |r\\|Sr\\|)[.]?$" |
|00001b70| 2e 20 6c 61 73 74 29 20 | 28 22 5e 41 53 54 53 24 |. last) |("^ASTS$|
|00001b80| 22 20 2e 20 30 29 20 28 | 22 5e 5b 49 5d 2b 24 22 |" . 0) (|"^[I]+$"|
|00001b90| 20 2e 20 6c 61 73 74 29 | 29 29 20 28 23 24 20 2e | . last)|)) (#$ .|
|00001ba0| 20 2d 36 34 35 31 29 29 | 0a 23 40 31 32 35 20 2a | -6451))|.#@125 *|
|00001bb0| 43 6f 6e 74 72 6f 6c 73 | 20 77 68 65 74 68 65 72 |Controls| whether|
|00001bc0| 20 74 6f 20 75 73 65 20 | 6e 65 73 74 65 64 20 6f | to use |nested o|
|00001bd0| 72 20 6e 6f 6e 2d 6e 65 | 73 74 65 64 20 63 69 74 |r non-ne|sted cit|
|00001be0| 61 74 69 6f 6e 20 73 74 | 79 6c 65 2e 0a 4e 6f 6e |ation st|yle..Non|
|00001bf0| 2d 6e 69 6c 20 75 73 65 | 73 20 6e 65 73 74 65 64 |-nil use|s nested|
|00001c00| 20 63 69 74 61 74 69 6f | 6e 73 2c 20 6e 69 6c 20 | citatio|ns, nil |
|00001c10| 75 73 65 73 20 6e 6f 6e | 2d 6e 65 73 74 65 64 20 |uses non|-nested |
|00001c20| 63 69 74 61 74 69 6f 6e | 73 2e 1f 0a 28 64 65 66 |citation|s...(def|
|00001c30| 76 61 72 20 73 63 2d 6e | 65 73 74 65 64 2d 63 69 |var sc-n|ested-ci|
|00001c40| 74 61 74 69 6f 6e 2d 70 | 20 6e 69 6c 20 28 23 24 |tation-p| nil (#$|
|00001c50| 20 2e 20 2d 37 30 38 37 | 29 29 0a 23 40 33 32 30 | . -7087|)).#@320|
|00001c60| 20 2a 43 6f 6e 74 72 6f | 6c 73 20 6d 61 69 6c 20 | *Contro|ls mail |
|00001c70| 68 65 61 64 65 72 20 6e | 75 6b 69 6e 67 2e 0a 55 |header n|uking..U|
|00001c80| 73 65 64 20 69 6e 20 63 | 6f 6e 6a 75 6e 63 74 69 |sed in c|onjuncti|
|00001c90| 6f 6e 20 77 69 74 68 20 | 60 73 63 2d 6e 75 6b 65 |on with |`sc-nuke|
|00001ca0| 2d 6d 61 69 6c 2d 68 65 | 61 64 65 72 2d 6c 69 73 |-mail-he|ader-lis|
|00001cb0| 74 27 2e 20 20 4c 65 67 | 61 6c 20 76 61 6c 75 65 |t'. Leg|al value|
|00001cc0| 73 20 61 72 65 3a 0a 0a | 60 61 6c 6c 27 20 20 20 |s are:..|`all' |
|00001cd0| 20 20 20 20 2d 2d 20 6e | 75 6b 65 20 61 6c 6c 20 | -- n|uke all |
|00001ce0| 6d 61 69 6c 20 68 65 61 | 64 65 72 73 0a 60 6e 6f |mail hea|ders.`no|
|00001cf0| 6e 65 27 20 20 20 20 20 | 20 2d 2d 20 64 6f 6e 27 |ne' | -- don'|
|00001d00| 74 20 6e 75 6b 65 20 61 | 6e 79 20 6d 61 69 6c 20 |t nuke a|ny mail |
|00001d10| 68 65 61 64 65 72 73 0a | 60 73 70 65 63 69 66 69 |headers.|`specifi|
|00001d20| 65 64 27 20 2d 2d 20 6e | 75 6b 65 20 68 65 61 64 |ed' -- n|uke head|
|00001d30| 65 72 73 20 73 70 65 63 | 69 66 69 65 64 20 69 6e |ers spec|ified in|
|00001d40| 20 60 73 63 2d 6e 75 6b | 65 2d 6d 61 69 6c 2d 68 | `sc-nuk|e-mail-h|
|00001d50| 65 61 64 65 72 2d 6c 69 | 73 74 27 0a 60 6b 65 65 |eader-li|st'.`kee|
|00001d60| 70 27 20 20 20 20 20 20 | 2d 2d 20 6b 65 65 70 20 |p' |-- keep |
|00001d70| 68 65 61 64 65 72 73 20 | 73 70 65 63 69 66 69 65 |headers |specifie|
|00001d80| 64 20 69 6e 20 60 73 63 | 2d 6e 75 6b 65 2d 6d 61 |d in `sc|-nuke-ma|
|00001d90| 69 6c 2d 68 65 61 64 65 | 72 2d 6c 69 73 74 27 1f |il-heade|r-list'.|
|00001da0| 0a 28 64 65 66 76 61 72 | 20 73 63 2d 6e 75 6b 65 |.(defvar| sc-nuke|
|00001db0| 2d 6d 61 69 6c 2d 68 65 | 61 64 65 72 73 20 28 71 |-mail-he|aders (q|
|00001dc0| 75 6f 74 65 20 61 6c 6c | 29 20 28 23 24 20 2e 20 |uote all|) (#$ . |
|00001dd0| 2d 37 32 36 35 29 29 0a | 23 40 32 30 30 20 2a 4c |-7265)).|#@200 *L|
|00001de0| 69 73 74 20 6f 66 20 6d | 61 69 6c 20 68 65 61 64 |ist of m|ail head|
|00001df0| 65 72 20 72 65 67 65 78 | 70 73 20 74 6f 20 72 65 |er regex|ps to re|
|00001e00| 6d 6f 76 65 20 6f 72 20 | 6b 65 65 70 20 69 6e 20 |move or |keep in |
|00001e10| 62 6f 64 79 20 6f 66 20 | 72 65 70 6c 79 2e 0a 54 |body of |reply..T|
|00001e20| 68 69 73 20 6c 69 73 74 | 20 63 6f 6e 74 61 69 6e |his list| contain|
|00001e30| 73 20 72 65 67 75 6c 61 | 72 20 65 78 70 72 65 73 |s regula|r expres|
|00001e40| 73 69 6f 6e 73 20 64 65 | 73 63 72 69 62 69 6e 67 |sions de|scribing|
|00001e50| 20 74 68 65 20 6d 61 69 | 6c 20 68 65 61 64 65 72 | the mai|l header|
|00001e60| 73 20 74 6f 0a 6b 65 65 | 70 20 6f 72 20 6e 75 6b |s to.kee|p or nuk|
|00001e70| 65 2c 20 64 65 70 65 6e | 64 69 6e 67 20 6f 6e 20 |e, depen|ding on |
|00001e80| 74 68 65 20 76 61 6c 75 | 65 20 6f 66 20 60 73 63 |the valu|e of `sc|
|00001e90| 2d 6e 75 6b 65 2d 6d 61 | 69 6c 2d 68 65 61 64 65 |-nuke-ma|il-heade|
|00001ea0| 72 73 27 2e 1f 0a 28 64 | 65 66 76 61 72 20 73 63 |rs'...(d|efvar sc|
|00001eb0| 2d 6e 75 6b 65 2d 6d 61 | 69 6c 2d 68 65 61 64 65 |-nuke-ma|il-heade|
|00001ec0| 72 2d 6c 69 73 74 20 6e | 69 6c 20 28 23 24 20 2e |r-list n|il (#$ .|
|00001ed0| 20 2d 37 36 34 36 29 29 | 0a 23 40 31 37 34 31 20 | -7646))|.#@1741 |
|00001ee0| 2a 53 70 65 63 69 66 69 | 65 73 20 77 68 61 74 20 |*Specifi|es what |
|00001ef0| 74 6f 20 75 73 65 20 61 | 73 20 74 68 65 20 61 74 |to use a|s the at|
|00001f00| 74 72 69 62 75 74 69 6f | 6e 20 73 74 72 69 6e 67 |tributio|n string|
|00001f10| 2e 0a 53 75 70 65 72 63 | 69 74 65 20 63 72 65 61 |..Superc|ite crea|
|00001f20| 74 65 73 20 61 20 6c 69 | 73 74 20 6f 66 20 70 6f |tes a li|st of po|
|00001f30| 73 73 69 62 6c 65 20 61 | 74 74 72 69 62 75 74 69 |ssible a|ttributi|
|00001f40| 6f 6e 73 20 77 68 65 6e | 20 69 74 20 73 63 61 6e |ons when| it scan|
|00001f50| 73 20 74 68 65 0a 6d 61 | 69 6c 20 68 65 61 64 65 |s the.ma|il heade|
|00001f60| 72 73 20 66 72 6f 6d 20 | 74 68 65 20 6f 72 69 67 |rs from |the orig|
|00001f70| 69 6e 61 6c 20 6d 65 73 | 73 61 67 65 2e 20 20 45 |inal mes|sage. E|
|00001f80| 61 63 68 20 61 74 74 72 | 69 62 75 74 69 6f 6e 20 |ach attr|ibution |
|00001f90| 63 68 6f 69 63 65 20 69 | 73 0a 61 73 73 6f 63 69 |choice i|s.associ|
|00001fa0| 61 74 65 64 20 77 69 74 | 68 20 61 20 6b 65 79 20 |ated wit|h a key |
|00001fb0| 69 6e 20 61 6e 20 61 74 | 74 72 69 62 75 74 69 6f |in an at|tributio|
|00001fc0| 6e 20 61 6c 69 73 74 2e | 20 20 53 75 70 65 72 63 |n alist.| Superc|
|00001fd0| 69 74 65 20 74 72 69 65 | 73 20 74 6f 0a 70 69 63 |ite trie|s to.pic|
|00001fe0| 6b 20 61 20 22 70 72 65 | 66 65 72 72 65 64 22 20 |k a "pre|ferred" |
|00001ff0| 61 74 74 72 69 62 75 74 | 69 6f 6e 20 62 79 20 6d |attribut|ion by m|
|00002000| 61 74 63 68 69 6e 67 20 | 74 68 65 20 61 74 74 72 |atching |the attr|
|00002010| 69 62 75 74 69 6f 6e 20 | 61 6c 69 73 74 0a 6b 65 |ibution |alist.ke|
|00002020| 79 73 20 61 67 61 69 6e | 73 74 20 74 68 65 20 65 |ys again|st the e|
|00002030| 6c 65 6d 65 6e 74 73 20 | 69 6e 20 60 73 63 2d 70 |lements |in `sc-p|
|00002040| 72 65 66 65 72 72 65 64 | 2d 61 74 74 72 69 62 75 |referred|-attribu|
|00002050| 74 69 6f 6e 2d 6c 69 73 | 74 27 20 69 6e 20 6f 72 |tion-lis|t' in or|
|00002060| 64 65 72 2e 0a 54 68 65 | 20 66 69 72 73 74 20 6e |der..The| first n|
|00002070| 6f 6e 2d 65 6d 70 74 79 | 20 73 74 72 69 6e 67 20 |on-empty| string |
|00002080| 76 61 6c 75 65 20 66 6f | 75 6e 64 20 69 73 20 75 |value fo|und is u|
|00002090| 73 65 64 20 61 73 20 74 | 68 65 20 70 72 65 66 65 |sed as t|he prefe|
|000020a0| 72 72 65 64 0a 61 74 74 | 72 69 62 75 74 69 6f 6e |rred.att|ribution|
|000020b0| 2e 0a 0a 4e 6f 74 65 20 | 74 68 61 74 20 53 75 70 |...Note |that Sup|
|000020c0| 65 72 63 69 74 65 20 6e | 6f 77 20 68 6f 6e 6f 72 |ercite n|ow honor|
|000020d0| 73 20 74 68 65 20 58 2d | 41 74 74 72 69 62 75 74 |s the X-|Attribut|
|000020e0| 69 6f 6e 3a 20 6d 61 69 | 6c 20 66 69 65 6c 64 2e |ion: mai|l field.|
|000020f0| 20 20 49 66 0a 70 72 65 | 73 65 6e 74 20 69 6e 20 | If.pre|sent in |
|00002100| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 6d 65 73 |the orig|inal mes|
|00002110| 73 61 67 65 2c 20 74 68 | 65 20 76 61 6c 75 65 20 |sage, th|e value |
|00002120| 6f 66 20 74 68 69 73 20 | 66 69 65 6c 64 20 73 68 |of this |field sh|
|00002130| 6f 75 6c 64 20 61 6c 77 | 61 79 73 0a 62 65 20 75 |ould alw|ays.be u|
|00002140| 73 65 64 20 74 6f 20 73 | 65 6c 65 63 74 20 74 68 |sed to s|elect th|
|00002150| 65 20 6d 6f 73 74 20 70 | 72 65 66 65 72 72 65 64 |e most p|referred|
|00002160| 20 61 74 74 72 69 62 75 | 74 69 6f 6e 20 73 69 6e | attribu|tion sin|
|00002170| 63 65 20 69 74 20 72 65 | 66 6c 65 63 74 73 20 68 |ce it re|flects h|
|00002180| 6f 77 0a 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |ow.the o|riginal |
|00002190| 61 75 74 68 6f 72 20 77 | 6f 75 6c 64 20 6c 69 6b |author w|ould lik|
|000021a0| 65 20 74 6f 20 62 65 20 | 64 69 73 74 69 6e 67 75 |e to be |distingu|
|000021b0| 69 73 68 65 64 2e 20 20 | 49 74 20 73 68 6f 75 6c |ished. |It shoul|
|000021c0| 64 20 62 65 0a 63 6f 6e | 73 69 64 65 72 65 64 20 |d be.con|sidered |
|000021d0| 62 61 64 20 74 61 73 74 | 65 20 74 6f 20 70 75 74 |bad tast|e to put|
|000021e0| 20 61 6e 79 20 61 74 74 | 72 69 62 75 74 69 6f 6e | any att|ribution|
|000021f0| 20 70 72 65 66 65 72 65 | 6e 63 65 20 6b 65 79 20 | prefere|nce key |
|00002200| 62 65 66 6f 72 65 0a 22 | 78 2d 61 74 74 72 69 62 |before."|x-attrib|
|00002210| 75 74 69 6f 6e 22 20 69 | 6e 20 74 68 69 73 20 6c |ution" i|n this l|
|00002220| 69 73 74 2c 20 65 78 63 | 65 70 74 20 70 65 72 68 |ist, exc|ept perh|
|00002230| 61 70 73 20 66 6f 72 20 | 22 73 63 2d 6c 61 73 74 |aps for |"sc-last|
|00002240| 63 68 6f 69 63 65 22 0a | 28 73 65 65 20 62 65 6c |choice".|(see bel|
|00002250| 6f 77 29 2e 0a 0a 53 75 | 70 65 72 63 69 74 65 20 |ow)...Su|percite |
|00002260| 72 65 6d 65 6d 62 65 72 | 73 20 74 68 65 20 6c 61 |remember|s the la|
|00002270| 73 74 20 61 74 74 72 69 | 62 75 74 69 6f 6e 20 75 |st attri|bution u|
|00002280| 73 65 64 20 77 68 65 6e | 20 72 65 63 69 74 69 6e |sed when| recitin|
|00002290| 67 20 61 6e 20 61 6c 72 | 65 61 64 79 0a 63 69 74 |g an alr|eady.cit|
|000022a0| 65 64 20 70 61 72 61 67 | 72 61 70 68 2e 20 20 54 |ed parag|raph. T|
|000022b0| 68 69 73 20 61 74 74 72 | 69 62 75 74 69 6f 6e 20 |his attr|ibution |
|000022c0| 77 69 6c 6c 20 61 6c 77 | 61 79 73 20 62 65 20 73 |will alw|ays be s|
|000022d0| 61 76 65 64 20 77 69 74 | 68 20 74 68 65 0a 22 73 |aved wit|h the."s|
|000022e0| 63 2d 6c 61 73 74 63 68 | 6f 69 63 65 22 20 6b 65 |c-lastch|oice" ke|
|000022f0| 79 2c 20 77 68 69 63 68 | 20 63 61 6e 20 62 65 20 |y, which| can be |
|00002300| 75 73 65 64 20 69 6e 20 | 74 68 69 73 20 6c 69 73 |used in |this lis|
|00002310| 74 2e 20 20 4e 6f 74 65 | 20 74 68 61 74 20 74 68 |t. Note| that th|
|00002320| 65 0a 6c 61 73 74 20 63 | 68 6f 69 63 65 20 69 73 |e.last c|hoice is|
|00002330| 20 61 6c 77 61 79 73 20 | 72 65 73 65 74 20 61 66 | always |reset af|
|00002340| 74 65 72 20 65 76 65 72 | 79 20 63 61 6c 6c 20 6f |ter ever|y call o|
|00002350| 66 20 60 73 63 2d 63 69 | 74 65 2d 6f 72 69 67 69 |f `sc-ci|te-origi|
|00002360| 6e 61 6c 27 2e 0a 0a 42 | 61 72 72 69 6e 67 20 65 |nal'...B|arring e|
|00002370| 72 72 6f 72 20 63 6f 6e | 64 69 74 69 6f 6e 73 2c |rror con|ditions,|
|00002380| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 70 | the fol|lowing p|
|00002390| 72 65 66 65 72 65 6e 63 | 65 73 20 61 72 65 20 61 |referenc|es are a|
|000023a0| 6c 77 61 79 73 20 70 72 | 65 73 65 6e 74 0a 69 6e |lways pr|esent.in|
|000023b0| 20 74 68 65 20 61 74 74 | 72 69 62 75 74 69 6f 6e | the att|ribution|
|000023c0| 20 61 6c 69 73 74 3a 0a | 0a 22 65 6d 61 69 6c 6e | alist:.|."emailn|
|000023d0| 61 6d 65 22 20 20 20 20 | 2d 2d 20 65 6d 61 69 6c |ame" |-- email|
|000023e0| 20 74 65 72 6d 69 6e 75 | 73 20 6e 61 6d 65 0a 22 | terminu|s name."|
|000023f0| 69 6e 69 74 69 61 6c 73 | 22 20 20 20 20 20 2d 2d |initials|" --|
|00002400| 20 69 6e 69 74 69 61 6c | 73 20 6f 66 20 61 75 74 | initial|s of aut|
|00002410| 68 6f 72 0a 22 66 69 72 | 73 74 6e 61 6d 65 22 20 |hor."fir|stname" |
|00002420| 20 20 20 2d 2d 20 66 69 | 72 73 74 20 6e 61 6d 65 | -- fi|rst name|
|00002430| 20 6f 66 20 61 75 74 68 | 6f 72 0a 22 6c 61 73 74 | of auth|or."last|
|00002440| 6e 61 6d 65 22 20 20 20 | 20 20 2d 2d 20 6c 61 73 |name" | -- las|
|00002450| 74 20 6e 61 6d 65 20 6f | 66 20 61 75 74 68 6f 72 |t name o|f author|
|00002460| 0a 22 6d 69 64 64 6c 65 | 6e 61 6d 65 2d 31 22 20 |."middle|name-1" |
|00002470| 2d 2d 20 66 69 72 73 74 | 20 6d 69 64 64 6c 65 20 |-- first| middle |
|00002480| 6e 61 6d 65 20 6f 66 20 | 61 75 74 68 6f 72 0a 22 |name of |author."|
|00002490| 6d 69 64 64 6c 65 6e 61 | 6d 65 2d 32 22 20 2d 2d |middlena|me-2" --|
|000024a0| 20 73 65 63 6f 6e 64 20 | 6d 69 64 64 6c 65 20 6e | second |middle n|
|000024b0| 61 6d 65 20 6f 66 20 61 | 75 74 68 6f 72 0a 2e 2e |ame of a|uthor...|
|000024c0| 2e 0a 0a 4d 69 64 64 6c | 65 20 6e 61 6d 65 20 69 |...Middl|e name i|
|000024d0| 6e 64 65 78 65 73 20 63 | 61 6e 20 62 65 20 61 6e |ndexes c|an be an|
|000024e0| 79 20 70 6f 73 69 74 69 | 76 65 20 69 6e 74 65 67 |y positi|ve integ|
|000024f0| 65 72 20 67 72 65 61 74 | 65 72 20 74 68 61 6e 20 |er great|er than |
|00002500| 30 2c 0a 61 6c 74 68 6f | 75 67 68 20 69 74 20 69 |0,.altho|ugh it i|
|00002510| 73 20 75 6e 6c 69 6b 65 | 6c 79 20 74 68 61 74 20 |s unlike|ly that |
|00002520| 6d 61 6e 79 20 61 75 74 | 68 6f 72 73 20 77 69 6c |many aut|hors wil|
|00002530| 6c 20 73 75 70 70 6c 79 | 20 6d 6f 72 65 20 74 68 |l supply| more th|
|00002540| 61 6e 20 6f 6e 65 0a 6d | 69 64 64 6c 65 20 6e 61 |an one.m|iddle na|
|00002550| 6d 65 2c 20 69 66 20 74 | 68 61 74 20 6d 61 6e 79 |me, if t|hat many|
|00002560| 2e 20 20 54 68 65 20 73 | 74 72 69 6e 67 20 6f 66 |. The s|tring of|
|00002570| 20 61 6c 6c 20 6d 69 64 | 64 6c 65 20 6e 61 6d 65 | all mid|dle name|
|00002580| 73 20 69 73 0a 61 73 73 | 6f 63 69 61 74 65 64 20 |s is.ass|ociated |
|00002590| 77 69 74 68 20 74 68 65 | 20 6b 65 79 20 22 6d 69 |with the| key "mi|
|000025a0| 64 64 6c 65 6e 61 6d 65 | 73 22 2e 1f 0a 28 64 65 |ddlename|s"...(de|
|000025b0| 66 76 61 72 20 73 63 2d | 70 72 65 66 65 72 72 65 |fvar sc-|preferre|
|000025c0| 64 2d 61 74 74 72 69 62 | 75 74 69 6f 6e 2d 6c 69 |d-attrib|ution-li|
|000025d0| 73 74 20 28 71 75 6f 74 | 65 20 28 22 73 63 2d 6c |st (quot|e ("sc-l|
|000025e0| 61 73 74 63 68 6f 69 63 | 65 22 20 22 78 2d 61 74 |astchoic|e" "x-at|
|000025f0| 74 72 69 62 75 74 69 6f | 6e 22 20 22 66 69 72 73 |tributio|n" "firs|
|00002600| 74 6e 61 6d 65 22 20 22 | 69 6e 69 74 69 61 6c 73 |tname" "|initials|
|00002610| 22 20 22 6c 61 73 74 6e | 61 6d 65 22 29 29 20 28 |" "lastn|ame")) (|
|00002620| 23 24 20 2e 20 2d 37 39 | 30 34 29 29 0a 23 40 37 |#$ . -79|04)).#@7|
|00002630| 34 32 20 2a 41 6e 20 61 | 6c 69 73 74 20 66 6f 72 |42 *An a|list for|
|00002640| 20 73 65 6c 65 63 74 69 | 6e 67 20 70 72 65 66 65 | selecti|ng prefe|
|00002650| 72 72 65 64 20 61 74 74 | 72 69 62 75 74 69 6f 6e |rred att|ribution|
|00002660| 20 62 61 73 65 64 20 6f | 6e 20 6d 61 69 6c 20 68 | based o|n mail h|
|00002670| 65 61 64 65 72 73 2e 0a | 45 61 63 68 20 65 6c 65 |eaders..|Each ele|
|00002680| 6d 65 6e 74 20 6f 66 20 | 74 68 69 73 20 6c 69 73 |ment of |this lis|
|00002690| 74 20 68 61 73 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |t has th|e follow|
|000026a0| 69 6e 67 20 66 6f 72 6d | 3a 0a 0a 20 20 20 28 49 |ing form|:.. (I|
|000026b0| 4e 46 4f 4b 45 59 20 28 | 28 52 45 47 45 58 50 20 |NFOKEY (|(REGEXP |
|000026c0| 2e 20 41 54 54 52 49 42 | 55 54 49 4f 4e 29 0a 20 |. ATTRIB|UTION). |
|000026d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 28 52 45 47 | | (REG|
|000026e0| 45 58 50 20 2e 20 41 54 | 54 52 49 42 55 54 49 4f |EXP . AT|TRIBUTIO|
|000026f0| 4e 29 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |N). | |
|00002700| 28 2e 2e 2e 29 29 29 0a | 0a 57 68 65 72 65 20 49 |(...))).|.Where I|
|00002710| 4e 46 4f 4b 45 59 20 69 | 73 20 61 20 6b 65 79 20 |NFOKEY i|s a key |
|00002720| 66 6f 72 20 60 73 63 2d | 6d 61 69 6c 2d 66 69 65 |for `sc-|mail-fie|
|00002730| 6c 64 27 2c 20 52 45 47 | 45 58 50 20 69 73 20 61 |ld', REG|EXP is a|
|00002740| 20 72 65 67 75 6c 61 72 | 0a 65 78 70 72 65 73 73 | regular|.express|
|00002750| 69 6f 6e 20 74 6f 20 6d | 61 74 63 68 20 61 67 61 |ion to m|atch aga|
|00002760| 69 6e 73 74 20 74 68 65 | 20 49 4e 46 4f 4b 45 59 |inst the| INFOKEY|
|00002770| 27 73 20 76 61 6c 75 65 | 2e 20 41 54 54 52 49 42 |'s value|. ATTRIB|
|00002780| 55 54 49 4f 4e 20 63 61 | 6e 20 62 65 20 61 0a 73 |UTION ca|n be a.s|
|00002790| 74 72 69 6e 67 20 6f 72 | 20 61 20 6c 69 73 74 2e |tring or| a list.|
|000027a0| 20 20 49 66 20 69 74 73 | 20 61 20 73 74 72 69 6e | If its| a strin|
|000027b0| 67 2c 20 74 68 65 6e 20 | 69 74 20 69 73 20 74 68 |g, then |it is th|
|000027c0| 65 20 61 74 74 72 69 62 | 75 74 69 6f 6e 20 74 68 |e attrib|ution th|
|000027d0| 61 74 20 69 73 0a 73 65 | 6c 65 63 74 65 64 20 62 |at is.se|lected b|
|000027e0| 79 20 60 73 63 2d 73 65 | 6c 65 63 74 2d 61 74 74 |y `sc-se|lect-att|
|000027f0| 72 69 62 75 74 69 6f 6e | 27 2e 20 20 49 66 20 69 |ribution|'. If i|
|00002800| 74 20 69 73 20 61 20 6c | 69 73 74 2c 20 69 74 20 |t is a l|ist, it |
|00002810| 69 73 20 60 65 76 61 6c | 27 64 0a 61 6e 64 20 74 |is `eval|'d.and t|
|00002820| 68 65 20 72 65 74 75 72 | 6e 20 76 61 6c 75 65 20 |he retur|n value |
|00002830| 6d 75 73 74 20 62 65 20 | 61 20 73 74 72 69 6e 67 |must be |a string|
|00002840| 2c 20 77 68 69 63 68 20 | 69 73 20 75 73 65 64 20 |, which |is used |
|00002850| 61 73 20 74 68 65 20 73 | 65 6c 65 63 74 65 64 0a |as the s|elected.|
|00002860| 61 74 74 72 69 62 75 74 | 69 6f 6e 2e 20 20 4e 6f |attribut|ion. No|
|00002870| 74 65 20 74 68 61 74 20 | 74 68 65 20 76 61 72 69 |te that |the vari|
|00002880| 61 62 6c 65 20 60 73 63 | 2d 70 72 65 66 65 72 72 |able `sc|-preferr|
|00002890| 65 64 2d 61 74 74 72 69 | 62 75 74 69 6f 6e 2d 6c |ed-attri|bution-l|
|000028a0| 69 73 74 27 0a 6d 75 73 | 74 20 63 6f 6e 74 61 69 |ist'.mus|t contai|
|000028b0| 6e 20 61 6e 20 65 6c 65 | 6d 65 6e 74 20 6f 66 20 |n an ele|ment of |
|000028c0| 74 68 65 20 73 74 72 69 | 6e 67 20 22 73 63 2d 63 |the stri|ng "sc-c|
|000028d0| 6f 6e 73 75 6c 74 22 20 | 66 6f 72 20 74 68 69 73 |onsult" |for this|
|000028e0| 20 76 61 72 69 61 62 6c | 65 0a 74 6f 20 62 65 20 | variabl|e.to be |
|000028f0| 63 6f 6e 73 75 6c 74 65 | 64 20 64 75 72 69 6e 67 |consulte|d during|
|00002900| 20 61 74 74 72 69 62 75 | 74 69 6f 6e 20 73 65 6c | attribu|tion sel|
|00002910| 65 63 74 69 6f 6e 2e 1f | 0a 28 64 65 66 76 61 72 |ection..|.(defvar|
|00002920| 20 73 63 2d 61 74 74 72 | 69 62 2d 73 65 6c 65 63 | sc-attr|ib-selec|
|00002930| 74 69 6f 6e 2d 6c 69 73 | 74 20 6e 69 6c 20 28 23 |tion-lis|t nil (#|
|00002940| 24 20 2e 20 2d 39 37 37 | 39 29 29 0a 23 40 34 37 |$ . -977|9)).#@47|
|00002950| 20 2a 48 6f 6f 6b 20 74 | 6f 20 72 75 6e 20 62 65 | *Hook t|o run be|
|00002960| 66 6f 72 65 20 73 65 6c | 65 63 74 69 6e 67 20 61 |fore sel|ecting a|
|00002970| 6e 20 61 74 74 72 69 62 | 75 74 69 6f 6e 2e 1f 0a |n attrib|ution...|
|00002980| 28 64 65 66 76 61 72 20 | 73 63 2d 61 74 74 72 69 |(defvar |sc-attri|
|00002990| 62 73 2d 70 72 65 73 65 | 6c 65 63 74 2d 68 6f 6f |bs-prese|lect-hoo|
|000029a0| 6b 20 6e 69 6c 20 28 23 | 24 20 2e 20 2d 31 30 35 |k nil (#|$ . -105|
|000029b0| 37 37 29 29 0a 23 40 37 | 31 20 2a 48 6f 6f 6b 20 |77)).#@7|1 *Hook |
|000029c0| 74 6f 20 72 75 6e 20 61 | 66 74 65 72 20 73 65 6c |to run a|fter sel|
|000029d0| 65 63 74 69 6e 67 20 61 | 6e 20 61 74 74 72 69 62 |ecting a|n attrib|
|000029e0| 75 74 69 6f 6e 2c 20 62 | 75 74 20 62 65 66 6f 72 |ution, b|ut befor|
|000029f0| 65 20 63 6f 6e 66 69 72 | 6d 61 74 69 6f 6e 2e 1f |e confir|mation..|
|00002a00| 0a 28 64 65 66 76 61 72 | 20 73 63 2d 61 74 74 72 |.(defvar| sc-attr|
|00002a10| 69 62 73 2d 70 6f 73 74 | 73 65 6c 65 63 74 2d 68 |ibs-post|select-h|
|00002a20| 6f 6f 6b 20 6e 69 6c 20 | 28 23 24 20 2e 20 2d 31 |ook nil |(#$ . -1|
|00002a30| 30 36 38 32 29 29 0a 23 | 40 34 36 20 2a 48 6f 6f |0682)).#|@46 *Hoo|
|00002a40| 6b 20 74 6f 20 72 75 6e | 20 62 65 66 6f 72 65 20 |k to run| before |
|00002a50| 63 69 74 69 6e 67 20 61 | 20 72 65 67 69 6f 6e 20 |citing a| region |
|00002a60| 6f 66 20 74 65 78 74 2e | 1f 0a 28 64 65 66 76 61 |of text.|..(defva|
|00002a70| 72 20 73 63 2d 70 72 65 | 2d 63 69 74 65 2d 68 6f |r sc-pre|-cite-ho|
|00002a80| 6f 6b 20 6e 69 6c 20 28 | 23 24 20 2e 20 2d 31 30 |ok nil (|#$ . -10|
|00002a90| 38 31 32 29 29 0a 23 40 | 34 38 20 2a 48 6f 6f 6b |812)).#@|48 *Hook|
|00002aa0| 20 74 6f 20 72 75 6e 20 | 62 65 66 6f 72 65 20 75 | to run |before u|
|00002ab0| 6e 63 69 74 69 6e 67 20 | 61 20 72 65 67 69 6f 6e |nciting |a region|
|00002ac0| 20 6f 66 20 74 65 78 74 | 2e 1f 0a 28 64 65 66 76 | of text|...(defv|
|00002ad0| 61 72 20 73 63 2d 70 72 | 65 2d 75 6e 63 69 74 65 |ar sc-pr|e-uncite|
|00002ae0| 2d 68 6f 6f 6b 20 6e 69 | 6c 20 28 23 24 20 2e 20 |-hook ni|l (#$ . |
|00002af0| 2d 31 30 39 30 37 29 29 | 0a 23 40 34 38 20 2a 48 |-10907))|.#@48 *H|
|00002b00| 6f 6f 6b 20 74 6f 20 72 | 75 6e 20 62 65 66 6f 72 |ook to r|un befor|
|00002b10| 65 20 72 65 63 69 74 69 | 6e 67 20 61 20 72 65 67 |e reciti|ng a reg|
|00002b20| 69 6f 6e 20 6f 66 20 74 | 65 78 74 2e 1f 0a 28 64 |ion of t|ext...(d|
|00002b30| 65 66 76 61 72 20 73 63 | 2d 70 72 65 2d 72 65 63 |efvar sc|-pre-rec|
|00002b40| 69 74 65 2d 68 6f 6f 6b | 20 6e 69 6c 20 28 23 24 |ite-hook| nil (#$|
|00002b50| 20 2e 20 2d 31 31 30 30 | 36 29 29 0a 23 40 31 32 | . -1100|6)).#@12|
|00002b60| 35 20 2a 49 6e 64 65 78 | 20 69 6e 74 6f 20 60 73 |5 *Index| into `s|
|00002b70| 63 2d 72 65 77 72 69 74 | 65 2d 68 65 61 64 65 72 |c-rewrit|e-header|
|00002b80| 2d 6c 69 73 74 27 20 73 | 70 65 63 69 66 79 69 6e |-list' s|pecifyin|
|00002b90| 67 20 70 72 65 66 65 72 | 72 65 64 20 68 65 61 64 |g prefer|red head|
|00002ba0| 65 72 20 73 74 79 6c 65 | 2e 0a 49 6e 64 65 78 20 |er style|..Index |
|00002bb0| 7a 65 72 6f 20 61 63 63 | 65 73 73 65 73 20 74 68 |zero acc|esses th|
|00002bc0| 65 20 66 69 72 73 74 20 | 66 75 6e 63 74 69 6f 6e |e first |function|
|00002bd0| 20 69 6e 20 74 68 65 20 | 6c 69 73 74 2e 1f 0a 28 | in the |list...(|
|00002be0| 64 65 66 76 61 72 20 73 | 63 2d 70 72 65 66 65 72 |defvar s|c-prefer|
|00002bf0| 72 65 64 2d 68 65 61 64 | 65 72 2d 73 74 79 6c 65 |red-head|er-style|
|00002c00| 20 34 20 28 23 24 20 2e | 20 2d 31 31 31 30 36 29 | 4 (#$ .| -11106)|
|00002c10| 29 0a 23 40 36 32 20 2a | 53 74 72 69 6e 67 20 75 |).#@62 *|String u|
|00002c20| 73 65 64 20 61 74 20 74 | 68 65 20 62 65 67 69 6e |sed at t|he begin|
|00002c30| 6e 69 6e 67 20 6f 66 20 | 62 75 69 6c 74 2d 69 6e |ning of |built-in|
|00002c40| 20 72 65 66 65 72 65 6e | 63 65 20 68 65 61 64 65 | referen|ce heade|
|00002c50| 72 73 2e 1f 0a 28 64 65 | 66 76 61 72 20 73 63 2d |rs...(de|fvar sc-|
|00002c60| 72 65 66 65 72 65 6e 63 | 65 2d 74 61 67 2d 73 74 |referenc|e-tag-st|
|00002c70| 72 69 6e 67 20 22 3e 3e | 3e 3e 3e 20 22 20 28 23 |ring ">>|>>> " (#|
|00002c80| 24 20 2e 20 2d 31 31 32 | 38 37 29 29 0a 23 40 32 |$ . -112|87)).#@2|
|00002c90| 34 34 20 2a 4c 69 73 74 | 20 6f 66 20 72 65 66 65 |44 *List| of refe|
|00002ca0| 72 65 6e 63 65 20 68 65 | 61 64 65 72 20 72 65 77 |rence he|ader rew|
|00002cb0| 72 69 74 65 20 66 75 6e | 63 74 69 6f 6e 73 2e 0a |rite fun|ctions..|
|00002cc0| 54 68 65 20 76 61 72 69 | 61 62 6c 65 20 60 73 63 |The vari|able `sc|
|00002cd0| 2d 70 72 65 66 65 72 72 | 65 64 2d 68 65 61 64 65 |-preferr|ed-heade|
|00002ce0| 72 2d 73 74 79 6c 65 27 | 20 63 6f 6e 74 72 6f 6c |r-style'| control|
|00002cf0| 73 20 77 68 69 63 68 20 | 66 75 6e 63 74 69 6f 6e |s which |function|
|00002d00| 20 69 6e 0a 74 68 69 73 | 20 6c 69 73 74 20 69 73 | in.this| list is|
|00002d10| 20 63 68 6f 73 65 6e 20 | 66 6f 72 20 61 75 74 6f | chosen |for auto|
|00002d20| 6d 61 74 69 63 20 72 65 | 66 65 72 65 6e 63 65 20 |matic re|ference |
|00002d30| 68 65 61 64 65 72 20 69 | 6e 73 65 72 74 69 6f 6e |header i|nsertion|
|00002d40| 73 2e 0a 45 6c 65 63 74 | 72 69 63 20 72 65 66 65 |s..Elect|ric refe|
|00002d50| 72 65 6e 63 65 20 6d 6f | 64 65 20 77 69 6c 6c 20 |rence mo|de will |
|00002d60| 63 79 63 6c 65 20 74 68 | 72 6f 75 67 68 20 74 68 |cycle th|rough th|
|00002d70| 69 73 20 6c 69 73 74 20 | 6f 66 20 66 75 6e 63 74 |is list |of funct|
|00002d80| 69 6f 6e 73 2e 1f 0a 28 | 64 65 66 76 61 72 20 73 |ions...(|defvar s|
|00002d90| 63 2d 72 65 77 72 69 74 | 65 2d 68 65 61 64 65 72 |c-rewrit|e-header|
|00002da0| 2d 6c 69 73 74 20 28 71 | 75 6f 74 65 20 28 28 73 |-list (q|uote ((s|
|00002db0| 63 2d 6e 6f 2d 68 65 61 | 64 65 72 29 20 28 73 63 |c-no-hea|der) (sc|
|00002dc0| 2d 68 65 61 64 65 72 2d | 6f 6e 2d 73 61 69 64 29 |-header-|on-said)|
|00002dd0| 20 28 73 63 2d 68 65 61 | 64 65 72 2d 69 6e 61 72 | (sc-hea|der-inar|
|00002de0| 74 69 63 6c 65 2d 77 72 | 69 74 65 73 29 20 28 73 |ticle-wr|ites) (s|
|00002df0| 63 2d 68 65 61 64 65 72 | 2d 72 65 67 61 72 64 69 |c-header|-regardi|
|00002e00| 6e 67 2d 61 64 64 73 29 | 20 28 73 63 2d 68 65 61 |ng-adds)| (sc-hea|
|00002e10| 64 65 72 2d 61 74 74 72 | 69 62 75 74 65 64 2d 77 |der-attr|ibuted-w|
|00002e20| 72 69 74 65 73 29 20 28 | 73 63 2d 68 65 61 64 65 |rites) (|sc-heade|
|00002e30| 72 2d 61 75 74 68 6f 72 | 2d 77 72 69 74 65 73 29 |r-author|-writes)|
|00002e40| 20 28 73 63 2d 68 65 61 | 64 65 72 2d 76 65 72 62 | (sc-hea|der-verb|
|00002e50| 6f 73 65 29 20 28 73 63 | 2d 6e 6f 2d 62 6c 61 6e |ose) (sc|-no-blan|
|00002e60| 6b 2d 6c 69 6e 65 2d 6f | 72 2d 68 65 61 64 65 72 |k-line-o|r-header|
|00002e70| 29 29 29 20 28 23 24 20 | 2e 20 2d 31 31 34 31 31 |))) (#$ |. -11411|
|00002e80| 29 29 0a 23 40 31 31 36 | 20 2a 52 65 67 75 6c 61 |)).#@116| *Regula|
|00002e90| 72 20 65 78 70 72 65 73 | 73 69 6f 6e 20 64 65 73 |r expres|sion des|
|00002ea0| 63 72 69 62 69 6e 67 20 | 74 68 65 20 73 65 70 61 |cribing |the sepa|
|00002eb0| 72 61 74 6f 72 20 62 65 | 74 77 65 65 6e 20 6e 61 |rator be|tween na|
|00002ec0| 6d 65 73 20 61 6e 64 20 | 74 69 74 6c 65 73 2e 0a |mes and |titles..|
|00002ed0| 53 65 74 20 74 6f 20 6e | 69 6c 20 74 6f 20 74 72 |Set to n|il to tr|
|00002ee0| 65 61 74 20 65 6e 74 69 | 72 65 20 66 69 65 6c 64 |eat enti|re field|
|00002ef0| 20 61 73 20 61 20 6e 61 | 6d 65 2e 1f 0a 28 64 65 | as a na|me...(de|
|00002f00| 66 76 61 72 20 73 63 2d | 74 69 74 6c 65 63 75 65 |fvar sc-|titlecue|
|00002f10| 2d 72 65 67 65 78 70 20 | 22 5c 5c 73 20 2b 2d 2b |-regexp |"\\s +-+|
|00002f20| 5c 5c 73 20 2b 22 20 28 | 23 24 20 2e 20 2d 31 31 |\\s +" (|#$ . -11|
|00002f30| 39 31 33 29 29 0a 23 40 | 32 32 30 20 2a 43 6f 6e |913)).#@|220 *Con|
|00002f40| 74 72 6f 6c 73 20 77 68 | 61 74 20 68 61 70 70 65 |trols wh|at happe|
|00002f50| 6e 73 20 77 68 65 6e 20 | 74 68 65 20 70 72 65 66 |ns when |the pref|
|00002f60| 65 72 72 65 64 20 61 74 | 74 72 69 62 75 74 69 6f |erred at|tributio|
|00002f70| 6e 20 63 61 6e 6e 6f 74 | 20 62 65 20 66 6f 75 6e |n cannot| be foun|
|00002f80| 64 2e 0a 49 66 20 6e 6f | 6e 2d 6e 69 6c 2c 20 74 |d..If no|n-nil, t|
|00002f90| 68 65 6e 20 60 73 63 2d | 64 65 66 61 75 6c 74 2d |hen `sc-|default-|
|00002fa0| 61 74 74 72 69 62 75 74 | 69 6f 6e 27 20 77 69 6c |attribut|ion' wil|
|00002fb0| 6c 20 62 65 20 75 73 65 | 64 2e 20 20 49 66 20 6e |l be use|d. If n|
|00002fc0| 69 6c 2c 20 74 68 65 6e | 0a 73 6f 6d 65 20 73 65 |il, then|.some se|
|00002fd0| 63 6f 6e 64 61 72 79 20 | 73 63 68 65 6d 65 20 77 |condary |scheme w|
|00002fe0| 69 6c 6c 20 62 65 20 65 | 6d 70 6c 6f 79 65 64 20 |ill be e|mployed |
|00002ff0| 74 6f 20 66 69 6e 64 20 | 61 20 73 75 69 74 61 62 |to find |a suitab|
|00003000| 6c 65 20 61 74 74 72 69 | 62 75 74 69 6f 6e 0a 73 |le attri|bution.s|
|00003010| 74 72 69 6e 67 2e 1f 0a | 28 64 65 66 76 61 72 20 |tring...|(defvar |
|00003020| 73 63 2d 75 73 65 2d 6f | 6e 6c 79 2d 70 72 65 66 |sc-use-o|nly-pref|
|00003030| 65 72 65 6e 63 65 2d 70 | 20 6e 69 6c 20 28 23 24 |erence-p| nil (#$|
|00003040| 20 2e 20 2d 31 32 30 39 | 32 29 29 0a 23 40 32 37 | . -1209|2)).#@27|
|00003050| 20 53 75 70 65 72 63 69 | 74 65 20 76 65 72 73 69 | Superci|te versi|
|00003060| 6f 6e 20 6e 75 6d 62 65 | 72 2e 1f 0a 28 64 65 66 |on numbe|r...(def|
|00003070| 63 6f 6e 73 74 20 73 63 | 2d 76 65 72 73 69 6f 6e |const sc|-version|
|00003080| 20 22 33 2e 31 22 20 28 | 23 24 20 2e 20 31 32 33 | "3.1" (|#$ . 123|
|00003090| 36 39 29 29 0a 23 40 34 | 37 20 41 64 64 72 65 73 |69)).#@4|7 Addres|
|000030a0| 73 20 61 63 63 65 70 74 | 69 6e 67 20 73 75 62 6d |s accept|ing subm|
|000030b0| 69 73 73 69 6f 6e 73 20 | 6f 66 20 62 75 67 20 72 |issions |of bug r|
|000030c0| 65 70 6f 72 74 73 2e 1f | 0a 28 64 65 66 63 6f 6e |eports..|.(defcon|
|000030d0| 73 74 20 73 63 2d 68 65 | 6c 70 2d 61 64 64 72 65 |st sc-he|lp-addre|
|000030e0| 73 73 20 22 73 75 70 65 | 72 63 69 74 65 2d 68 65 |ss "supe|rcite-he|
|000030f0| 6c 70 40 61 6e 74 68 65 | 6d 2e 6e 6c 6d 2e 6e 69 |lp@anthe|m.nlm.ni|
|00003100| 68 2e 67 6f 76 22 20 28 | 23 24 20 2e 20 31 32 34 |h.gov" (|#$ . 124|
|00003110| 34 32 29 29 0a 23 40 36 | 31 20 41 6c 69 73 74 20 |42)).#@6|1 Alist |
|00003120| 6f 66 20 6d 61 69 6c 20 | 68 65 61 64 65 72 20 69 |of mail |header i|
|00003130| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 67 6c 65 61 6e |nformati|on glean|
|00003140| 65 64 20 66 72 6f 6d 20 | 72 65 70 6c 79 20 62 75 |ed from |reply bu|
|00003150| 66 66 65 72 2e 1f 0a 28 | 64 65 66 76 61 72 20 73 |ffer...(|defvar s|
|00003160| 63 2d 6d 61 69 6c 2d 69 | 6e 66 6f 20 6e 69 6c 20 |c-mail-i|nfo nil |
|00003170| 28 23 24 20 2e 20 31 32 | 35 37 30 29 29 0a 23 40 |(#$ . 12|570)).#@|
|00003180| 34 34 20 41 6c 69 73 74 | 20 6f 66 20 61 74 74 72 |44 Alist| of attr|
|00003190| 69 62 75 74 69 6f 6e 73 | 20 66 6f 72 20 75 73 65 |ibutions| for use|
|000031a0| 20 77 68 65 6e 20 63 69 | 74 69 6e 67 2e 1f 0a 28 | when ci|ting...(|
|000031b0| 64 65 66 76 61 72 20 73 | 63 2d 61 74 74 72 69 62 |defvar s|c-attrib|
|000031c0| 75 74 69 6f 6e 73 20 6e | 69 6c 20 28 23 24 20 2e |utions n|il (#$ .|
|000031d0| 20 31 32 36 37 35 29 29 | 0a 23 40 31 35 30 20 41 | 12675))|.#@150 A|
|000031e0| 20 6c 69 73 74 20 64 65 | 73 63 72 69 62 69 6e 67 | list de|scribing|
|000031f0| 20 77 68 61 74 20 76 65 | 72 73 69 6f 6e 20 6f 66 | what ve|rsion of|
|00003200| 20 45 6d 61 63 73 20 77 | 65 27 72 65 20 72 75 6e | Emacs w|e're run|
|00003210| 6e 69 6e 67 20 6f 6e 2e | 0a 4b 6e 6f 77 6e 20 66 |ning on.|.Known f|
|00003220| 6c 61 76 6f 72 73 20 61 | 72 65 3a 0a 0a 41 6c 6c |lavors a|re:..All|
|00003230| 20 47 4e 55 31 38 27 73 | 3a 20 28 76 31 38 20 47 | GNU18's|: (v18 G|
|00003240| 4e 55 29 0a 46 53 46 31 | 39 2e 78 20 20 20 20 3a |NU).FSF1|9.x :|
|00003250| 20 28 76 31 39 20 47 4e | 55 29 0a 4c 75 63 69 64 | (v19 GN|U).Lucid|
|00003260| 31 39 2e 78 20 20 3a 20 | 28 76 31 39 20 4c 75 63 |19.x : |(v19 Luc|
|00003270| 69 64 29 1f 0a 28 64 65 | 66 63 6f 6e 73 74 20 73 |id)..(de|fconst s|
|00003280| 63 2d 65 6d 61 63 73 2d | 66 65 61 74 75 72 65 73 |c-emacs-|features|
|00003290| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 1a | (byte-c|ode "...|
|000032a0| 1b 5c 66 c5 c6 4f c7 98 | 83 0f 00 c8 13 c9 ca 5c |.\f..O..|.......\|
|000032b0| 66 5c 22 83 18 00 cb 12 | 0b 5c 6e 2a 44 87 22 20 |f\".....|.\n*D." |
|000032c0| 5b 76 31 38 20 47 4e 55 | 20 66 6c 61 76 6f 72 20 |[v18 GNU| flavor |
|000032d0| 76 65 72 73 69 6f 6e 20 | 65 6d 61 63 73 2d 76 65 |version |emacs-ve|
|000032e0| 72 73 69 6f 6e 20 30 20 | 32 20 22 31 39 22 20 76 |rsion 0 |2 "19" v|
|000032f0| 31 39 20 73 74 72 69 6e | 67 2d 6d 61 74 63 68 20 |19 strin|g-match |
|00003300| 22 4c 75 63 69 64 22 20 | 4c 75 63 69 64 5d 20 33 |"Lucid" |Lucid] 3|
|00003310| 29 20 28 23 24 20 2e 20 | 31 32 37 36 37 29 29 0a |) (#$ . |12767)).|
|00003320| 23 40 34 37 20 54 65 6d | 70 6f 72 61 72 79 20 72 |#@47 Tem|porary r|
|00003330| 65 67 65 70 78 20 64 65 | 73 63 72 69 62 69 6e 67 |egepx de|scribing|
|00003340| 20 6e 65 73 74 65 64 20 | 63 69 74 61 74 69 6f 6e | nested |citation|
|00003350| 73 2e 1f 0a 28 64 65 66 | 76 61 72 20 73 63 2d 74 |s...(def|var sc-t|
|00003360| 6d 70 2d 6e 65 73 74 65 | 64 2d 72 65 67 65 78 70 |mp-neste|d-regexp|
|00003370| 20 6e 69 6c 20 28 23 24 | 20 2e 20 31 33 30 39 33 | nil (#$| . 13093|
|00003380| 29 29 0a 23 40 35 31 20 | 54 65 6d 70 6f 72 61 72 |)).#@51 |Temporar|
|00003390| 79 20 72 65 67 65 78 70 | 20 64 65 73 63 72 69 62 |y regexp| describ|
|000033a0| 69 6e 67 20 6e 6f 6e 2d | 6e 65 73 74 65 64 20 63 |ing non-|nested c|
|000033b0| 69 74 61 74 69 6f 6e 73 | 2e 1f 0a 28 64 65 66 76 |itations|...(defv|
|000033c0| 61 72 20 73 63 2d 74 6d | 70 2d 6e 6f 6e 6e 65 73 |ar sc-tm|p-nonnes|
|000033d0| 74 65 64 2d 72 65 67 65 | 78 70 20 6e 69 6c 20 28 |ted-rege|xp nil (|
|000033e0| 23 24 20 2e 20 31 33 31 | 39 32 29 29 0a 23 40 37 |#$ . 131|92)).#@7|
|000033f0| 32 20 54 65 6d 70 20 72 | 65 67 65 78 70 20 64 65 |2 Temp r|egexp de|
|00003400| 73 63 72 69 62 69 6e 67 | 20 6e 6f 6e 2d 6e 65 73 |scribing| non-nes|
|00003410| 74 65 64 20 63 69 74 61 | 74 69 6f 6e 20 63 69 74 |ted cita|tion cit|
|00003420| 65 64 20 77 69 74 68 20 | 61 20 6e 65 73 74 69 6e |ed with |a nestin|
|00003430| 67 20 63 69 74 65 72 2e | 1f 0a 28 64 65 66 76 61 |g citer.|..(defva|
|00003440| 72 20 73 63 2d 74 6d 70 | 2d 64 75 6d 62 2d 72 65 |r sc-tmp|-dumb-re|
|00003450| 67 65 78 70 20 6e 69 6c | 20 28 23 24 20 2e 20 31 |gexp nil| (#$ . 1|
|00003460| 33 32 39 38 29 29 0a 23 | 40 33 31 20 53 75 70 65 |3298)).#|@31 Supe|
|00003470| 72 63 69 74 65 20 6d 69 | 6e 6f 72 20 6d 6f 64 65 |rcite mi|nor mode|
|00003480| 20 6f 6e 20 66 6c 61 67 | 2e 1f 0a 28 64 65 66 76 | on flag|...(defv|
|00003490| 61 72 20 73 63 2d 6d 69 | 6e 6f 72 2d 6d 6f 64 65 |ar sc-mi|nor-mode|
|000034a0| 20 6e 69 6c 20 28 23 24 | 20 2e 20 31 33 34 32 30 | nil (#$| . 13420|
|000034b0| 29 29 0a 23 40 33 30 20 | 53 75 70 65 72 63 69 74 |)).#@30 |Supercit|
|000034c0| 65 20 6d 69 6e 6f 72 20 | 6d 6f 64 65 20 73 74 72 |e minor |mode str|
|000034d0| 69 6e 67 2e 1f 0a 28 64 | 65 66 76 61 72 20 73 63 |ing...(d|efvar sc|
|000034e0| 2d 6d 6f 64 65 2d 73 74 | 72 69 6e 67 20 22 20 53 |-mode-st|ring " S|
|000034f0| 43 22 20 28 23 24 20 2e | 20 31 33 34 39 36 29 29 |C" (#$ .| 13496))|
|00003500| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 21 |.(byte-c|ode "..!|
|00003510| 88 c0 c2 21 88 c0 c3 21 | 87 22 20 5b 6d 61 6b 65 |...!...!|." [make|
|00003520| 2d 76 61 72 69 61 62 6c | 65 2d 62 75 66 66 65 72 |-variabl|e-buffer|
|00003530| 2d 6c 6f 63 61 6c 20 73 | 63 2d 6d 61 69 6c 2d 69 |-local s|c-mail-i|
|00003540| 6e 66 6f 20 73 63 2d 61 | 74 74 72 69 62 75 74 69 |nfo sc-a|ttributi|
|00003550| 6f 6e 73 20 73 63 2d 6d | 69 6e 6f 72 2d 6d 6f 64 |ons sc-m|inor-mod|
|00003560| 65 5d 20 32 29 0a 23 40 | 39 34 20 2a 4b 65 79 20 |e] 2).#@|94 *Key |
|00003570| 62 69 6e 64 69 6e 67 20 | 74 6f 20 69 6e 73 74 61 |binding |to insta|
|00003580| 6c 6c 20 53 75 70 65 72 | 63 69 74 65 20 6b 65 79 |ll Super|cite key|
|00003590| 6d 61 70 2e 0a 49 66 20 | 74 68 69 73 20 69 73 20 |map..If |this is |
|000035a0| 6e 69 6c 2c 20 53 75 70 | 65 72 63 69 74 65 20 6b |nil, Sup|ercite k|
|000035b0| 65 79 6d 61 70 20 69 73 | 20 6e 6f 74 20 69 6e 73 |eymap is| not ins|
|000035c0| 74 61 6c 6c 65 64 2e 1f | 0a 28 64 65 66 76 61 72 |talled..|.(defvar|
|000035d0| 20 73 63 2d 6d 6f 64 65 | 2d 6d 61 70 2d 70 72 65 | sc-mode|-map-pre|
|000035e0| 66 69 78 20 22 03 10 22 | 20 28 23 24 20 2e 20 2d |fix ".."| (#$ . -|
|000035f0| 31 33 36 37 35 29 29 0a | 23 40 35 38 20 4b 65 79 |13675)).|#@58 Key|
|00003600| 6d 61 70 20 66 6f 72 20 | 73 75 62 2d 6b 65 79 6d |map for |sub-keym|
|00003610| 61 70 20 6f 66 20 73 65 | 74 74 69 6e 67 20 61 6e |ap of se|tting an|
|00003620| 64 20 74 6f 67 67 6c 69 | 6e 67 20 66 75 6e 63 74 |d toggli|ng funct|
|00003630| 69 6f 6e 73 2e 1f 0a 28 | 64 65 66 76 61 72 20 73 |ions...(|defvar s|
|00003640| 63 2d 54 2d 6b 65 79 6d | 61 70 20 6e 69 6c 20 28 |c-T-keym|ap nil (|
|00003650| 23 24 20 2e 20 31 33 38 | 32 31 29 29 0a 28 62 79 |#$ . 138|21)).(by|
|00003660| 74 65 2d 63 6f 64 65 20 | 22 08 84 67 00 c1 20 10 |te-code |"..g.. .|
|00003670| c2 08 c3 c4 23 88 c2 08 | c5 c6 23 88 c2 08 c7 c8 |....#...|..#.....|
|00003680| 23 88 c2 08 c9 ca 23 88 | c2 08 cb cc 23 88 c2 08 |#.....#.|....#...|
|00003690| cd ce 23 88 c2 08 cf d0 | 23 88 c2 08 d1 d2 23 88 |..#.....|#.....#.|
|000036a0| c2 08 d3 d4 23 88 c2 08 | d5 d6 23 88 c2 08 d7 d8 |....#...|..#.....|
|000036b0| 23 88 c2 08 d9 da 23 88 | c2 08 db dc 23 88 c2 08 |#.....#.|....#...|
|000036c0| dd de 23 88 c2 08 df e0 | 23 88 c2 08 e1 d0 23 88 |..#.....|#.....#.|
|000036d0| c1 87 22 20 5b 73 63 2d | 54 2d 6b 65 79 6d 61 70 |.." [sc-|T-keymap|
|000036e0| 20 6d 61 6b 65 2d 73 70 | 61 72 73 65 2d 6b 65 79 | make-sp|arse-key|
|000036f0| 6d 61 70 20 64 65 66 69 | 6e 65 2d 6b 65 79 20 22 |map defi|ne-key "|
|00003700| 61 22 20 73 63 2d 53 2d | 70 72 65 66 65 72 72 65 |a" sc-S-|preferre|
|00003710| 64 2d 61 74 74 72 69 62 | 75 74 69 6f 6e 2d 6c 69 |d-attrib|ution-li|
|00003720| 73 74 20 22 62 22 20 73 | 63 2d 54 2d 6d 61 69 6c |st "b" s|c-T-mail|
|00003730| 2d 6e 75 6b 65 2d 62 6c | 61 6e 6b 2d 6c 69 6e 65 |-nuke-bl|ank-line|
|00003740| 73 20 22 63 22 20 73 63 | 2d 54 2d 63 6f 6e 66 69 |s "c" sc|-T-confi|
|00003750| 72 6d 2d 61 6c 77 61 79 | 73 20 22 64 22 20 73 63 |rm-alway|s "d" sc|
|00003760| 2d 54 2d 64 6f 77 6e 63 | 61 73 65 20 22 65 22 20 |-T-downc|ase "e" |
|00003770| 73 63 2d 54 2d 65 6c 65 | 63 74 72 69 63 2d 72 65 |sc-T-ele|ctric-re|
|00003780| 66 65 72 65 6e 63 65 73 | 20 22 66 22 20 73 63 2d |ferences| "f" sc-|
|00003790| 54 2d 61 75 74 6f 2d 66 | 69 6c 6c 2d 72 65 67 69 |T-auto-f|ill-regi|
|000037a0| 6f 6e 20 22 68 22 20 73 | 63 2d 54 2d 64 65 73 63 |on "h" s|c-T-desc|
|000037b0| 72 69 62 65 20 22 6c 22 | 20 73 63 2d 53 2d 63 69 |ribe "l"| sc-S-ci|
|000037c0| 74 65 2d 72 65 67 69 6f | 6e 2d 6c 69 6d 69 74 20 |te-regio|n-limit |
|000037d0| 22 6e 22 20 73 63 2d 53 | 2d 6d 61 69 6c 2d 6e 75 |"n" sc-S|-mail-nu|
|000037e0| 6b 65 2d 6d 61 69 6c 2d | 68 65 61 64 65 72 73 20 |ke-mail-|headers |
|000037f0| 22 4e 22 20 73 63 2d 53 | 2d 6d 61 69 6c 2d 68 65 |"N" sc-S|-mail-he|
|00003800| 61 64 65 72 2d 6e 75 6b | 65 2d 6c 69 73 74 20 22 |ader-nuk|e-list "|
|00003810| 6f 22 20 73 63 2d 54 2d | 65 6c 65 63 74 72 69 63 |o" sc-T-|electric|
|00003820| 2d 63 69 72 63 75 6c 61 | 72 20 22 70 22 20 73 63 |-circula|r "p" sc|
|00003830| 2d 53 2d 70 72 65 66 65 | 72 72 65 64 2d 68 65 61 |-S-prefe|rred-hea|
|00003840| 64 65 72 2d 73 74 79 6c | 65 20 22 73 22 20 73 63 |der-styl|e "s" sc|
|00003850| 2d 54 2d 6e 65 73 74 65 | 64 2d 63 69 74 61 74 69 |-T-neste|d-citati|
|00003860| 6f 6e 20 22 75 22 20 73 | 63 2d 54 2d 75 73 65 2d |on "u" s|c-T-use-|
|00003870| 6f 6e 6c 79 2d 70 72 65 | 66 65 72 65 6e 63 65 73 |only-pre|ferences|
|00003880| 20 22 77 22 20 73 63 2d | 54 2d 66 69 78 75 70 2d | "w" sc-|T-fixup-|
|00003890| 77 68 69 74 65 73 70 61 | 63 65 20 22 3f 22 5d 20 |whitespa|ce "?"] |
|000038a0| 34 29 0a 23 40 33 34 20 | 4b 65 79 6d 61 70 20 66 |4).#@34 |Keymap f|
|000038b0| 6f 72 20 53 75 70 65 72 | 63 69 74 65 20 71 75 61 |or Super|cite qua|
|000038c0| 73 69 2d 6d 6f 64 65 2e | 1f 0a 28 64 65 66 76 61 |si-mode.|..(defva|
|000038d0| 72 20 73 63 2d 6d 6f 64 | 65 2d 6d 61 70 20 6e 69 |r sc-mod|e-map ni|
|000038e0| 6c 20 28 23 24 20 2e 20 | 31 34 35 30 34 29 29 0a |l (#$ . |14504)).|
|000038f0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 08 84 5c 5c |(byte-co|de "..\\|
|00003900| 00 c1 20 10 c2 08 c3 c4 | 23 88 c2 08 c5 c6 23 88 |.. .....|#.....#.|
|00003910| c2 08 c7 c8 23 88 c2 08 | c9 ca 23 88 c2 08 cb cc |....#...|..#.....|
|00003920| 23 88 c2 08 cd ce 23 88 | c2 08 cf d0 23 88 c2 08 |#.....#.|....#...|
|00003930| d1 d2 23 88 c2 08 d3 d4 | 23 88 c2 08 d5 d6 23 88 |..#.....|#.....#.|
|00003940| c2 08 d7 d8 23 88 c2 08 | d9 0e 1a 23 88 c2 08 db |....#...|...#....|
|00003950| dc 23 88 c2 08 dd ca 23 | 88 c1 87 22 20 5b 73 63 |.#.....#|..." [sc|
|00003960| 2d 6d 6f 64 65 2d 6d 61 | 70 20 6d 61 6b 65 2d 73 |-mode-ma|p make-s|
|00003970| 70 61 72 73 65 2d 6b 65 | 79 6d 61 70 20 64 65 66 |parse-ke|ymap def|
|00003980| 69 6e 65 2d 6b 65 79 20 | 22 63 22 20 73 63 2d 63 |ine-key |"c" sc-c|
|00003990| 69 74 65 2d 72 65 67 69 | 6f 6e 20 22 66 22 20 73 |ite-regi|on "f" s|
|000039a0| 63 2d 6d 61 69 6c 2d 66 | 69 65 6c 64 2d 71 75 65 |c-mail-f|ield-que|
|000039b0| 72 79 20 22 67 22 20 73 | 63 2d 6d 61 69 6c 2d 70 |ry "g" s|c-mail-p|
|000039c0| 72 6f 63 65 73 73 2d 68 | 65 61 64 65 72 73 20 22 |rocess-h|eaders "|
|000039d0| 68 22 20 73 63 2d 64 65 | 73 63 72 69 62 65 20 22 |h" sc-de|scribe "|
|000039e0| 69 22 20 73 63 2d 69 6e | 73 65 72 74 2d 63 69 74 |i" sc-in|sert-cit|
|000039f0| 61 74 69 6f 6e 20 22 6f | 22 20 73 63 2d 6f 70 65 |ation "o|" sc-ope|
|00003a00| 6e 2d 6c 69 6e 65 20 22 | 72 22 20 73 63 2d 72 65 |n-line "|r" sc-re|
|00003a10| 63 69 74 65 2d 72 65 67 | 69 6f 6e 20 22 10 22 20 |cite-reg|ion "." |
|00003a20| 73 63 2d 72 61 77 2d 6d | 6f 64 65 2d 74 6f 67 67 |sc-raw-m|ode-togg|
|00003a30| 6c 65 20 22 75 22 20 73 | 63 2d 75 6e 63 69 74 65 |le "u" s|c-uncite|
|00003a40| 2d 72 65 67 69 6f 6e 20 | 22 76 22 20 73 63 2d 76 |-region |"v" sc-v|
|00003a50| 65 72 73 69 6f 6e 20 22 | 77 22 20 73 63 2d 69 6e |ersion "|w" sc-in|
|00003a60| 73 65 72 74 2d 72 65 66 | 65 72 65 6e 63 65 20 22 |sert-ref|erence "|
|00003a70| 14 22 20 73 63 2d 54 2d | 6b 65 79 6d 61 70 20 22 |." sc-T-|keymap "|
|00003a80| 02 22 20 73 63 2d 73 75 | 62 6d 69 74 2d 62 75 67 |." sc-su|bmit-bug|
|00003a90| 2d 72 65 70 6f 72 74 20 | 22 3f 22 5d 20 34 29 0a |-report |"?"] 4).|
|00003aa0| 23 40 35 37 20 4b 65 79 | 6d 61 70 20 66 6f 72 20 |#@57 Key|map for |
|00003ab0| 60 73 63 2d 65 6c 65 63 | 74 72 69 63 2d 6d 6f 64 |`sc-elec|tric-mod|
|00003ac0| 65 27 20 65 6c 65 63 74 | 72 69 63 20 72 65 66 65 |e' elect|ric refe|
|00003ad0| 72 65 6e 63 65 73 20 6d | 6f 64 65 2e 1f 0a 28 64 |rences m|ode...(d|
|00003ae0| 65 66 76 61 72 20 73 63 | 2d 65 6c 65 63 74 72 69 |efvar sc|-electri|
|00003af0| 63 2d 6d 6f 64 65 2d 6d | 61 70 20 6e 69 6c 20 28 |c-mode-m|ap nil (|
|00003b00| 23 24 20 2e 20 31 35 30 | 31 33 29 29 0a 28 62 79 |#$ . 150|13)).(by|
|00003b10| 74 65 2d 63 6f 64 65 20 | 22 08 84 55 00 c1 20 10 |te-code |"..U.. .|
|00003b20| c2 08 c3 c4 23 88 c2 08 | c5 c6 23 88 c2 08 c7 c8 |....#...|..#.....|
|00003b30| 23 88 c2 08 c9 ca 23 88 | c2 08 cb cc 23 88 c2 08 |#.....#.|....#...|
|00003b40| cd cc 23 88 c2 08 ce cf | 23 88 c2 08 d0 cf 23 88 |..#.....|#.....#.|
|00003b50| c2 08 d1 d2 23 88 c2 08 | d3 d4 23 88 c2 08 d5 d4 |....#...|..#.....|
|00003b60| 23 88 c2 08 d6 d4 23 88 | c2 08 d7 d4 23 88 c1 87 |#.....#.|....#...|
|00003b70| 22 20 5b 73 63 2d 65 6c | 65 63 74 72 69 63 2d 6d |" [sc-el|ectric-m|
|00003b80| 6f 64 65 2d 6d 61 70 20 | 6d 61 6b 65 2d 73 70 61 |ode-map |make-spa|
|00003b90| 72 73 65 2d 6b 65 79 6d | 61 70 20 64 65 66 69 6e |rse-keym|ap defin|
|00003ba0| 65 2d 6b 65 79 20 22 70 | 22 20 73 63 2d 65 72 65 |e-key "p|" sc-ere|
|00003bb0| 66 2d 70 72 65 76 20 22 | 6e 22 20 73 63 2d 65 72 |f-prev "|n" sc-er|
|00003bc0| 65 66 2d 6e 65 78 74 20 | 22 73 22 20 73 63 2d 65 |ef-next |"s" sc-e|
|00003bd0| 72 65 66 2d 73 65 74 6e | 20 22 6a 22 20 73 63 2d |ref-setn| "j" sc-|
|00003be0| 65 72 65 66 2d 6a 75 6d | 70 20 22 78 22 20 73 63 |eref-jum|p "x" sc|
|00003bf0| 2d 65 72 65 66 2d 61 62 | 6f 72 74 20 22 71 22 20 |-eref-ab|ort "q" |
|00003c00| 22 0d 22 20 73 63 2d 65 | 72 65 66 2d 65 78 69 74 |"." sc-e|ref-exit|
|00003c10| 20 22 5c 6e 22 20 22 67 | 22 20 73 63 2d 65 72 65 | "\n" "g|" sc-ere|
|00003c20| 66 2d 67 6f 74 6f 20 22 | 3f 22 20 64 65 73 63 72 |f-goto "|?" descr|
|00003c30| 69 62 65 2d 6d 6f 64 65 | 20 22 08 22 20 5b 66 31 |ibe-mode| "." [f1|
|00003c40| 5d 20 5b 68 65 6c 70 5d | 5d 20 34 29 0a 23 40 36 |] [help]|] 4).#@6|
|00003c50| 30 20 4b 65 79 6d 61 70 | 20 66 6f 72 20 6d 69 6e |0 Keymap| for min|
|00003c60| 69 62 75 66 66 65 72 20 | 63 6f 6e 66 69 72 6d 61 |ibuffer |confirma|
|00003c70| 74 69 6f 6e 20 6f 66 20 | 61 74 74 72 69 62 75 74 |tion of |attribut|
|00003c80| 69 6f 6e 20 73 74 72 69 | 6e 67 73 2e 1f 0a 28 64 |ion stri|ngs...(d|
|00003c90| 65 66 76 61 72 20 73 63 | 2d 6d 69 6e 69 62 75 66 |efvar sc|-minibuf|
|00003ca0| 66 65 72 2d 6c 6f 63 61 | 6c 2d 63 6f 6d 70 6c 65 |fer-loca|l-comple|
|00003cb0| 74 69 6f 6e 2d 6d 61 70 | 20 6e 69 6c 20 28 23 24 |tion-map| nil (#$|
|00003cc0| 20 2e 20 31 35 34 34 32 | 29 29 0a 28 62 79 74 65 | . 15442|)).(byte|
|00003cd0| 2d 63 6f 64 65 20 22 08 | 84 14 00 c1 5c 6e 21 10 |-code ".|....\n!.|
|00003ce0| c3 08 c4 c5 23 88 c3 08 | c6 c7 23 88 c1 87 22 20 |....#...|..#..." |
|00003cf0| 5b 73 63 2d 6d 69 6e 69 | 62 75 66 66 65 72 2d 6c |[sc-mini|buffer-l|
|00003d00| 6f 63 61 6c 2d 63 6f 6d | 70 6c 65 74 69 6f 6e 2d |ocal-com|pletion-|
|00003d10| 6d 61 70 20 63 6f 70 79 | 2d 6b 65 79 6d 61 70 20 |map copy|-keymap |
|00003d20| 6d 69 6e 69 62 75 66 66 | 65 72 2d 6c 6f 63 61 6c |minibuff|er-local|
|00003d30| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 2d 6d 61 70 20 |-complet|ion-map |
|00003d40| 64 65 66 69 6e 65 2d 6b | 65 79 20 22 14 22 20 73 |define-k|ey "." s|
|00003d50| 63 2d 74 6f 67 67 6c 65 | 2d 66 6e 20 22 20 22 20 |c-toggle|-fn " " |
|00003d60| 73 65 6c 66 2d 69 6e 73 | 65 72 74 2d 63 6f 6d 6d |self-ins|ert-comm|
|00003d70| 61 6e 64 5d 20 34 29 0a | 23 40 36 30 20 4b 65 79 |and] 4).|#@60 Key|
|00003d80| 6d 61 70 20 66 6f 72 20 | 6d 69 6e 69 62 75 66 66 |map for |minibuff|
|00003d90| 65 72 20 63 6f 6e 66 69 | 72 6d 61 74 69 6f 6e 20 |er confi|rmation |
|00003da0| 6f 66 20 61 74 74 72 69 | 62 75 74 69 6f 6e 20 73 |of attri|bution s|
|00003db0| 74 72 69 6e 67 73 2e 1f | 0a 28 64 65 66 76 61 72 |trings..|.(defvar|
|00003dc0| 20 73 63 2d 6d 69 6e 69 | 62 75 66 66 65 72 2d 6c | sc-mini|buffer-l|
|00003dd0| 6f 63 61 6c 2d 6d 61 70 | 20 6e 69 6c 20 28 23 24 |ocal-map| nil (#$|
|00003de0| 20 2e 20 31 35 37 34 31 | 29 29 0a 28 62 79 74 65 | . 15741|)).(byte|
|00003df0| 2d 63 6f 64 65 20 22 08 | 84 0e 00 c1 5c 6e 21 10 |-code ".|....\n!.|
|00003e00| c3 08 c4 c5 23 88 c1 87 | 22 20 5b 73 63 2d 6d 69 |....#...|" [sc-mi|
|00003e10| 6e 69 62 75 66 66 65 72 | 2d 6c 6f 63 61 6c 2d 6d |nibuffer|-local-m|
|00003e20| 61 70 20 63 6f 70 79 2d | 6b 65 79 6d 61 70 20 6d |ap copy-|keymap m|
|00003e30| 69 6e 69 62 75 66 66 65 | 72 2d 6c 6f 63 61 6c 2d |inibuffe|r-local-|
|00003e40| 6d 61 70 20 64 65 66 69 | 6e 65 2d 6b 65 79 20 22 |map defi|ne-key "|
|00003e50| 14 22 20 73 63 2d 74 6f | 67 67 6c 65 2d 66 6e 5d |." sc-to|ggle-fn]|
|00003e60| 20 34 29 0a 23 40 31 30 | 36 20 43 6f 6d 70 61 74 | 4).#@10|6 Compat|
|00003e70| 69 62 69 6c 69 74 79 20 | 62 65 74 77 65 65 6e 20 |ibility |between |
|00003e80| 45 6d 61 63 73 20 31 38 | 20 61 6e 64 20 31 39 20 |Emacs 18| and 19 |
|00003e90| 60 63 6f 6d 70 6c 65 74 | 69 6e 67 2d 72 65 61 64 |`complet|ing-read|
|00003ea0| 27 2e 0a 49 6e 20 76 65 | 72 73 69 6f 6e 20 31 38 |'..In ve|rsion 18|
|00003eb0| 2c 20 74 68 65 20 48 49 | 53 54 4f 52 59 20 61 72 |, the HI|STORY ar|
|00003ec0| 67 75 6d 65 6e 74 20 69 | 73 20 69 67 6e 6f 72 65 |gument i|s ignore|
|00003ed0| 64 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 73 |d...(def|alias 's|
|00003ee0| 63 2d 63 6f 6d 70 6c 65 | 74 69 6e 67 2d 72 65 61 |c-comple|ting-rea|
|00003ef0| 64 20 23 5b 28 70 72 6f | 6d 70 74 20 74 61 62 6c |d #[(pro|mpt tabl|
|00003f00| 65 20 26 6f 70 74 69 6f | 6e 61 6c 20 70 72 65 64 |e &optio|nal pred|
|00003f10| 69 63 61 74 65 20 72 65 | 71 75 69 72 65 2d 6d 61 |icate re|quire-ma|
|00003f20| 74 63 68 20 69 6e 69 74 | 69 61 6c 2d 63 6f 6e 74 |tch init|ial-cont|
|00003f30| 65 6e 74 73 20 68 69 73 | 74 6f 72 79 29 20 22 c0 |ents his|tory) ".|
|00003f40| 09 3e 83 13 00 c2 0b 5c | 66 0d 0e 06 0e 07 0e 08 |.>.....\|f.......|
|00003f50| 26 06 87 c2 0b 5c 66 0d | 0e 06 0e 07 a2 86 21 00 |&....\f.|......!.|
|00003f60| 0e 07 25 87 22 20 5b 76 | 31 39 20 73 63 2d 65 6d |..%." [v|19 sc-em|
|00003f70| 61 63 73 2d 66 65 61 74 | 75 72 65 73 20 63 6f 6d |acs-feat|ures com|
|00003f80| 70 6c 65 74 69 6e 67 2d | 72 65 61 64 20 70 72 6f |pleting-|read pro|
|00003f90| 6d 70 74 20 74 61 62 6c | 65 20 70 72 65 64 69 63 |mpt tabl|e predic|
|00003fa0| 61 74 65 20 72 65 71 75 | 69 72 65 2d 6d 61 74 63 |ate requ|ire-matc|
|00003fb0| 68 20 69 6e 69 74 69 61 | 6c 2d 63 6f 6e 74 65 6e |h initia|l-conten|
|00003fc0| 74 73 20 68 69 73 74 6f | 72 79 5d 20 37 20 28 23 |ts histo|ry] 7 (#|
|00003fd0| 24 20 2e 20 31 35 39 37 | 38 29 5d 29 0a 23 40 31 |$ . 1597|8)]).#@1|
|00003fe0| 30 32 20 43 6f 6d 70 61 | 74 69 62 69 6c 69 74 79 |02 Compa|tibility|
|00003ff0| 20 62 65 74 77 65 65 6e | 20 45 6d 61 63 73 20 31 | between| Emacs 1|
|00004000| 38 20 61 6e 64 20 31 39 | 20 60 72 65 61 64 2d 73 |8 and 19| `read-s|
|00004010| 74 72 69 6e 67 27 2e 0a | 49 6e 20 76 65 72 73 69 |tring'..|In versi|
|00004020| 6f 6e 20 31 38 2c 20 74 | 68 65 20 48 49 53 54 4f |on 18, t|he HISTO|
|00004030| 52 59 20 61 72 67 75 6d | 65 6e 74 20 69 73 20 69 |RY argum|ent is i|
|00004040| 67 6e 6f 72 65 64 2e 1f | 0a 28 64 65 66 61 6c 69 |gnored..|.(defali|
|00004050| 61 73 20 27 73 63 2d 72 | 65 61 64 2d 73 74 72 69 |as 'sc-r|ead-stri|
|00004060| 6e 67 20 23 5b 28 70 72 | 6f 6d 70 74 20 26 6f 70 |ng #[(pr|ompt &op|
|00004070| 74 69 6f 6e 61 6c 20 69 | 6e 69 74 69 61 6c 2d 63 |tional i|nitial-c|
|00004080| 6f 6e 74 65 6e 74 73 20 | 68 69 73 74 6f 72 79 29 |ontents |history)|
|00004090| 20 22 c0 09 3e 83 0b 00 | c2 0b 5c 66 5c 22 87 c2 | "..>...|..\f\"..|
|000040a0| 0b 5c 66 5c 22 87 22 20 | 5b 76 31 39 20 73 63 2d |.\f\"." |[v19 sc-|
|000040b0| 65 6d 61 63 73 2d 66 65 | 61 74 75 72 65 73 20 72 |emacs-fe|atures r|
|000040c0| 65 61 64 2d 73 74 72 69 | 6e 67 20 70 72 6f 6d 70 |ead-stri|ng promp|
|000040d0| 74 20 69 6e 69 74 69 61 | 6c 2d 63 6f 6e 74 65 6e |t initia|l-conten|
|000040e0| 74 73 5d 20 33 20 28 23 | 24 20 2e 20 31 36 33 35 |ts] 3 (#|$ . 1635|
|000040f0| 35 29 5d 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |5)]).(by|te-code |
|00004100| 22 c0 c1 21 83 0e 00 c2 | c3 c1 5c 22 88 82 12 00 |"..!....|..\"....|
|00004110| c3 c4 4d 88 c0 c5 21 83 | 20 00 c2 c6 c5 5c 22 88 |..M...!.| ....\".|
|00004120| 82 24 00 c6 c7 4d 88 c0 | c8 21 83 32 00 c2 c9 c8 |.$...M..|.!.2....|
|00004130| 5c 22 88 82 36 00 c9 ca | 4d 88 c0 87 22 20 5b 66 |\"..6...|M..." [f|
|00004140| 62 6f 75 6e 64 70 20 6d | 61 74 63 68 2d 73 74 72 |boundp m|atch-str|
|00004150| 69 6e 67 20 64 65 66 61 | 6c 69 61 73 20 73 63 2d |ing defa|lias sc-|
|00004160| 73 75 62 6d 61 74 63 68 | 20 23 5b 28 6d 61 74 63 |submatch| #[(matc|
|00004170| 68 6e 75 6d 20 26 6f 70 | 74 69 6f 6e 61 6c 20 73 |hnum &op|tional s|
|00004180| 74 72 69 6e 67 29 20 22 | 08 83 0b 00 08 09 94 09 |tring) "|........|
|00004190| 95 4f 87 09 94 09 95 7b | 87 22 20 5b 73 74 72 69 |.O.....{|." [stri|
|000041a0| 6e 67 20 6d 61 74 63 68 | 6e 75 6d 5d 20 33 20 22 |ng match|num] 3 "|
|000041b0| 52 65 74 75 72 6e 73 20 | 60 6d 61 74 63 68 2d 62 |Returns |`match-b|
|000041c0| 65 67 69 6e 6e 69 6e 67 | 27 20 61 6e 64 20 60 6d |eginning|' and `m|
|000041d0| 61 74 63 68 2d 65 6e 64 | 27 20 73 75 62 2d 65 78 |atch-end|' sub-ex|
|000041e0| 70 72 65 73 73 69 6f 6e | 20 66 6f 72 20 4d 41 54 |pression| for MAT|
|000041f0| 43 48 4e 55 4d 2e 5c 6e | 49 66 20 6f 70 74 69 6f |CHNUM.\n|If optio|
|00004200| 6e 61 6c 20 53 54 52 49 | 4e 47 20 69 73 20 70 72 |nal STRI|NG is pr|
|00004210| 6f 76 69 64 65 64 2c 20 | 74 61 6b 65 20 73 75 62 |ovided, |take sub|
|00004220| 2d 65 78 70 72 65 73 73 | 69 6f 6e 20 75 73 69 6e |-express|ion usin|
|00004230| 67 20 60 73 75 62 73 74 | 72 69 6e 67 27 5c 6e 6f |g `subst|ring'\no|
|00004240| 66 20 61 72 67 75 6d 65 | 6e 74 2c 20 6f 74 68 65 |f argume|nt, othe|
|00004250| 72 77 69 73 65 20 75 73 | 65 20 60 62 75 66 66 65 |rwise us|e `buffe|
|00004260| 72 2d 73 75 62 73 74 72 | 69 6e 67 27 20 6f 6e 20 |r-substr|ing' on |
|00004270| 63 75 72 72 65 6e 74 20 | 62 75 66 66 65 72 2e 20 |current |buffer. |
|00004280| 20 4e 6f 74 65 5c 6e 74 | 68 61 74 20 60 6d 61 74 | Note\nt|hat `mat|
|00004290| 63 68 2d 64 61 74 61 27 | 20 6d 75 73 74 20 68 61 |ch-data'| must ha|
|000042a0| 76 65 20 61 6c 72 65 61 | 64 79 20 62 65 65 6e 20 |ve alrea|dy been |
|000042b0| 67 65 6e 65 72 61 74 65 | 64 20 61 6e 64 20 6e 6f |generate|d and no|
|000042c0| 20 65 72 72 6f 72 5c 6e | 63 68 65 63 6b 69 6e 67 | error\n|checking|
|000042d0| 20 69 73 20 70 65 72 66 | 6f 72 6d 65 64 20 62 79 | is perf|ormed by|
|000042e0| 20 74 68 69 73 20 66 75 | 6e 63 74 69 6f 6e 2e 22 | this fu|nction."|
|000042f0| 5d 20 6d 65 6d 62 65 72 | 20 73 63 2d 6d 65 6d 62 |] member| sc-memb|
|00004300| 65 72 20 23 5b 28 65 6c | 74 20 6c 69 73 74 29 20 |er #[(el|t list) |
|00004310| 22 c0 c1 8d 87 22 20 5b | 65 6c 74 2d 69 73 2d 6d |"...." [|elt-is-m|
|00004320| 65 6d 62 65 72 20 28 62 | 79 74 65 2d 63 6f 64 65 |ember (b|yte-code|
|00004330| 20 22 08 85 18 00 09 08 | 40 9a 83 10 00 c2 c3 08 | "......|@.......|
|00004340| 5c 22 88 08 41 89 10 84 | 04 00 c4 87 22 20 5b 6c |\"..A...|...." [l|
|00004350| 69 73 74 20 65 6c 74 20 | 74 68 72 6f 77 20 65 6c |ist elt |throw el|
|00004360| 74 2d 69 73 2d 6d 65 6d | 62 65 72 20 6e 69 6c 5d |t-is-mem|ber nil]|
|00004370| 20 34 29 5d 20 32 20 22 | 4c 69 6b 65 20 60 6d 65 | 4)] 2 "|Like `me|
|00004380| 6d 71 27 2c 20 62 75 74 | 20 75 73 65 73 20 60 65 |mq', but| uses `e|
|00004390| 71 75 61 6c 27 20 69 6e | 73 74 65 61 64 20 6f 66 |qual' in|stead of|
|000043a0| 20 60 65 71 27 2e 5c 6e | 45 6d 61 63 73 31 39 20 | `eq'.\n|Emacs19 |
|000043b0| 68 61 73 20 61 20 62 75 | 69 6c 74 69 6e 20 66 75 |has a bu|iltin fu|
|000043c0| 6e 63 74 69 6f 6e 20 60 | 6d 65 6d 62 65 72 27 20 |nction `|member' |
|000043d0| 77 68 69 63 68 20 64 6f | 65 73 20 65 78 61 63 74 |which do|es exact|
|000043e0| 6c 79 20 74 68 69 73 2e | 22 5d 20 73 74 72 69 6e |ly this.|"] strin|
|000043f0| 67 2d 74 65 78 74 20 73 | 63 2d 73 74 72 69 6e 67 |g-text s|c-string|
|00004400| 2d 74 65 78 74 20 23 5b | 28 73 74 72 69 6e 67 29 |-text #[|(string)|
|00004410| 20 22 c0 09 21 19 c2 c3 | 09 47 c4 09 24 88 09 29 | "..!...|.G..$..)|
|00004420| 87 22 20 5b 63 6f 70 79 | 2d 73 65 71 75 65 6e 63 |." [copy|-sequenc|
|00004430| 65 20 73 74 72 69 6e 67 | 20 73 65 74 2d 74 65 78 |e string| set-tex|
|00004440| 74 2d 70 72 6f 70 65 72 | 74 69 65 73 20 30 20 6e |t-proper|ties 0 n|
|00004450| 69 6c 5d 20 35 20 22 52 | 65 74 75 72 6e 20 53 54 |il] 5 "R|eturn ST|
|00004460| 52 49 4e 47 20 77 69 74 | 68 20 61 6c 6c 20 74 65 |RING wit|h all te|
|00004470| 78 74 20 70 72 6f 70 65 | 72 74 69 65 73 20 72 65 |xt prope|rties re|
|00004480| 6d 6f 76 65 64 2e 22 5d | 5d 20 33 29 0a 23 40 35 |moved."]|] 3).#@5|
|00004490| 31 30 20 41 73 6b 20 61 | 20 71 75 65 73 74 69 6f |10 Ask a| questio|
|000044a0| 6e 20 69 6e 20 74 68 65 | 20 6d 69 6e 69 62 75 66 |n in the| minibuf|
|000044b0| 66 65 72 20 72 65 71 75 | 69 72 69 6e 67 20 61 20 |fer requ|iring a |
|000044c0| 73 69 6e 67 6c 65 20 63 | 68 61 72 61 63 74 65 72 |single c|haracter|
|000044d0| 20 61 6e 73 77 65 72 2e | 0a 54 68 69 73 20 66 75 | answer.|.This fu|
|000044e0| 6e 63 74 69 6f 6e 20 69 | 73 20 6b 69 6e 64 20 6f |nction i|s kind o|
|000044f0| 66 20 61 6e 20 65 78 74 | 65 6e 73 69 6f 6e 20 6f |f an ext|ension o|
|00004500| 66 20 60 79 2d 6f 72 2d | 6e 2d 70 27 20 77 68 65 |f `y-or-|n-p' whe|
|00004510| 72 65 20 61 20 73 69 6e | 67 6c 65 0a 6c 65 74 74 |re a sin|gle.lett|
|00004520| 65 72 20 69 73 20 75 73 | 65 64 20 74 6f 20 61 6e |er is us|ed to an|
|00004530| 73 77 65 72 20 61 20 71 | 75 65 73 74 69 6f 6e 2e |swer a q|uestion.|
|00004540| 20 20 51 75 65 73 74 69 | 6f 6e 20 69 73 20 66 6f | Questi|on is fo|
|00004550| 72 6d 65 64 20 66 72 6f | 6d 20 41 4c 49 53 54 0a |rmed fro|m ALIST.|
|00004560| 77 68 69 63 68 20 68 61 | 73 20 6d 65 6d 62 65 72 |which ha|s member|
|00004570| 73 20 6f 66 20 74 68 65 | 20 66 6f 72 6d 3a 20 20 |s of the| form: |
|00004580| 28 57 4f 52 44 20 2e 20 | 4c 45 54 54 45 52 29 2e |(WORD . |LETTER).|
|00004590| 20 20 57 4f 52 44 20 69 | 73 20 74 68 65 20 6c 6f | WORD i|s the lo|
|000045a0| 6e 67 0a 77 6f 72 64 20 | 66 6f 72 6d 2c 20 77 68 |ng.word |form, wh|
|000045b0| 69 6c 65 20 4c 45 54 54 | 45 52 20 69 73 20 74 68 |ile LETT|ER is th|
|000045c0| 65 20 6c 65 74 74 65 72 | 20 66 6f 72 20 73 65 6c |e letter| for sel|
|000045d0| 65 63 74 69 6e 67 20 74 | 68 61 74 20 61 6e 73 77 |ecting t|hat answ|
|000045e0| 65 72 2e 20 20 54 68 65 | 0a 73 65 6c 65 63 74 65 |er. The|.selecte|
|000045f0| 64 20 6c 65 74 74 65 72 | 20 69 73 20 72 65 74 75 |d letter| is retu|
|00004600| 72 6e 65 64 2c 20 6f 72 | 20 6e 69 6c 20 69 66 20 |rned, or| nil if |
|00004610| 74 68 65 20 71 75 65 73 | 74 69 6f 6e 20 77 61 73 |the ques|tion was|
|00004620| 20 6e 6f 74 20 61 6e 73 | 77 65 72 65 64 2e 0a 4e | not ans|wered..N|
|00004630| 6f 74 65 20 74 68 61 74 | 20 57 4f 52 44 20 69 73 |ote that| WORD is|
|00004640| 20 61 20 73 74 72 69 6e | 67 20 61 6e 64 20 4c 45 | a strin|g and LE|
|00004650| 54 54 45 52 20 69 73 20 | 61 20 63 68 61 72 61 63 |TTER is |a charac|
|00004660| 74 65 72 2e 20 20 41 6c | 6c 20 4c 45 54 54 45 52 |ter. Al|l LETTER|
|00004670| 73 20 69 6e 0a 74 68 65 | 20 6c 69 73 74 20 73 68 |s in.the| list sh|
|00004680| 6f 75 6c 64 20 62 65 20 | 75 6e 69 71 75 65 2e 1f |ould be |unique..|
|00004690| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 73 63 2d 61 |.(defali|as 'sc-a|
|000046a0| 73 6b 20 23 5b 28 61 6c | 69 73 74 29 20 22 c0 c1 |sk #[(al|ist) "..|
|000046b0| 5c 6e c3 23 c4 c0 c5 5c | 6e c6 23 c7 52 89 1e 08 |\n.#...\|n.#.R...|
|000046c0| 1e 09 ca 0e 0b 3e 85 1b | 00 cc 20 1e 0d 0e 09 3b |.....>..|.. ....;|
|000046d0| 83 02 01 ce 89 1e 0f 1e | 10 d1 d2 0e 09 5c 22 88 |........|.....\".|
|000046e0| d3 0e 0b 3e 83 3d 00 d4 | 20 16 0d 82 50 00 ca 0e |...>.=..| ...P...|
|000046f0| 0b 3e 83 4c 00 d5 0e 0d | 21 88 82 50 00 d6 20 16 |.>.L....|!..P.. .|
|00004700| 0d 0e 17 d8 16 17 2a 83 | 77 00 d1 d9 0e 09 da 0e |......*.|w.......|
|00004710| 0d 21 23 88 ca 0e 0b 3e | 83 6f 00 db 0e 0d 21 88 |.!#....>|.o....!.|
|00004720| d8 16 17 dc dd d8 5c 22 | 88 ca 0e 0b 3e 83 97 00 |......\"|....>...|
|00004730| de 0e 0d 21 85 89 00 df | 0e 0d 21 89 1e 20 85 93 |...!....|..!.. ..|
|00004740| 00 e1 0e 0d 21 29 82 99 | 00 0e 0d d8 1e 5c 22 89 |....!)..|.....\".|
|00004750| 1e 23 83 a7 00 0e 23 97 | 16 23 e4 0e 23 5c 6e 5c |.#....#.|.#..#\n\|
|00004760| 22 89 16 5c 22 83 c3 00 | d1 d9 0e 09 0e 5c 22 40 |"..\"...|.....\"@|
|00004770| 23 88 0e 5c 22 41 16 09 | 82 fe 00 ca 0e 0b 3e 83 |#..\"A..|......>.|
|00004780| d1 00 e5 0e 0d 21 84 fe | 00 d1 d9 0e 09 da 0e 0d |.....!..|........|
|00004790| 21 23 88 ca 0e 0b 3e 83 | ea 00 e6 d8 e7 5c 22 88 |!#....>.|.....\".|
|000047a0| 82 ed 00 e6 20 88 e8 20 | 88 0e 09 0e 08 3d 83 fe |.... .. |.....=..|
|000047b0| 00 e9 0e 08 50 16 09 2a | 82 1d 00 ca 0e 0b 3e 83 |....P..*|......>.|
|000047c0| 0e 01 db 0e 0d 21 88 0e | 09 2b 87 22 20 5b 6d 61 |.....!..|.+." [ma|
|000047d0| 70 63 6f 6e 63 61 74 20 | 23 5b 28 65 6c 74 29 20 |pconcat |#[(elt) |
|000047e0| 22 08 40 87 22 20 5b 65 | 6c 74 5d 20 31 5d 20 61 |".@." [e|lt] 1] a|
|000047f0| 6c 69 73 74 20 22 2c 20 | 22 20 22 3f 20 28 22 20 |list ", |" "? (" |
|00004800| 23 5b 28 65 6c 74 29 20 | 22 c0 09 41 21 87 22 20 |#[(elt) |"..A!." |
|00004810| 5b 63 68 61 72 2d 74 6f | 2d 73 74 72 69 6e 67 20 |[char-to|-string |
|00004820| 65 6c 74 5d 20 32 5d 20 | 22 2f 22 20 22 29 20 22 |elt] 2] |"/" ") "|
|00004830| 20 70 72 6f 6d 70 74 20 | 70 20 4c 75 63 69 64 20 | prompt |p Lucid |
|00004840| 73 63 2d 65 6d 61 63 73 | 2d 66 65 61 74 75 72 65 |sc-emacs|-feature|
|00004850| 73 20 61 6c 6c 6f 63 61 | 74 65 2d 65 76 65 6e 74 |s alloca|te-event|
|00004860| 20 65 76 65 6e 74 20 74 | 20 69 6e 68 69 62 69 74 | event t| inhibit|
|00004870| 2d 71 75 69 74 20 63 75 | 72 73 6f 72 2d 69 6e 2d |-quit cu|rsor-in-|
|00004880| 65 63 68 6f 2d 61 72 65 | 61 20 6d 65 73 73 61 67 |echo-are|a messag|
|00004890| 65 20 22 25 73 22 20 76 | 31 38 20 72 65 61 64 2d |e "%s" v|18 read-|
|000048a0| 63 68 61 72 20 6e 65 78 | 74 2d 63 6f 6d 6d 61 6e |char nex|t-comman|
|000048b0| 64 2d 65 76 65 6e 74 20 | 72 65 61 64 2d 65 76 65 |d-event |read-eve|
|000048c0| 6e 74 20 71 75 69 74 2d | 66 6c 61 67 20 6e 69 6c |nt quit-|flag nil|
|000048d0| 20 22 25 73 25 73 22 20 | 73 69 6e 67 6c 65 2d 6b | "%s%s" |single-k|
|000048e0| 65 79 2d 64 65 73 63 72 | 69 70 74 69 6f 6e 20 64 |ey-descr|iption d|
|000048f0| 65 61 6c 6c 6f 63 61 74 | 65 2d 65 76 65 6e 74 20 |eallocat|e-event |
|00004900| 73 69 67 6e 61 6c 20 71 | 75 69 74 20 6b 65 79 2d |signal q|uit key-|
|00004910| 70 72 65 73 73 2d 65 76 | 65 6e 74 2d 70 20 65 76 |press-ev|ent-p ev|
|00004920| 65 6e 74 2d 6b 65 79 20 | 6b 65 79 20 65 76 65 6e |ent-key |key even|
|00004930| 74 2d 74 6f 2d 63 68 61 | 72 61 63 74 65 72 20 65 |t-to-cha|racter e|
|00004940| 6c 74 20 63 68 61 72 20 | 72 61 73 73 71 20 62 75 |lt char |rassq bu|
|00004950| 74 74 6f 6e 2d 72 65 6c | 65 61 73 65 2d 65 76 65 |tton-rel|ease-eve|
|00004960| 6e 74 2d 70 20 64 69 6e | 67 20 79 2d 6f 72 2d 6e |nt-p din|g y-or-n|
|00004970| 2d 70 20 64 69 73 63 61 | 72 64 2d 69 6e 70 75 74 |-p disca|rd-input|
|00004980| 20 22 54 72 79 20 61 67 | 61 69 6e 2e 20 20 22 5d | "Try ag|ain. "]|
|00004990| 20 37 20 28 23 24 20 2e | 20 31 37 35 35 35 29 5d | 7 (#$ .| 17555)]|
|000049a0| 29 0a 23 40 36 34 20 46 | 69 6e 64 20 61 20 6d 61 |).#@64 F|ind a ma|
|000049b0| 74 63 68 20 69 6e 20 74 | 68 65 20 69 6e 66 6f 20 |tch in t|he info |
|000049c0| 61 6c 69 73 74 20 74 68 | 61 74 20 6d 61 74 63 68 |alist th|at match|
|000049d0| 65 73 20 61 20 72 65 67 | 65 78 70 20 69 6e 20 41 |es a reg|exp in A|
|000049e0| 4c 49 53 54 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |LIST...(|defalias|
|000049f0| 20 27 73 63 2d 73 63 61 | 6e 2d 69 6e 66 6f 2d 61 | 'sc-sca|n-info-a|
|00004a00| 6c 69 73 74 20 23 5b 28 | 61 6c 69 73 74 29 20 22 |list #[(|alist) "|
|00004a10| c0 c1 1a 1b 5c 66 83 51 | 00 5c 66 40 89 1d 40 1e |....\f.Q|.\f@..@.|
|00004a20| 06 c7 0e 06 21 1e 08 0d | 41 40 1e 09 0e 09 83 4a |....!...|A@.....J|
|00004a30| 00 0e 09 40 89 1e 5c 6e | 40 1e 0b 0e 5c 6e 41 1e |...@..\n|@...\nA.|
|00004a40| 5c 66 cd 0e 0b 0e 08 5c | 22 83 41 00 0e 5c 66 12 |\f.....\|".A..\f.|
|00004a50| c1 16 09 c1 14 82 46 00 | 0e 09 41 16 09 2b 82 1a |......F.|..A..+..|
|00004a60| 00 5c 66 41 14 2c 82 04 | 00 5c 6e 2a 87 22 20 5b |.\fA.,..|.\n*." [|
|00004a70| 22 22 20 6e 69 6c 20 72 | 74 6e 76 61 6c 75 65 20 |"" nil r|tnvalue |
|00004a80| 73 63 2d 6d 75 6d 62 6c | 65 20 61 6c 69 73 74 20 |sc-mumbl|e alist |
|00004a90| 65 6c 65 6d 20 69 6e 66 | 6f 6b 65 79 20 73 63 2d |elem inf|okey sc-|
|00004aa0| 6d 61 69 6c 2d 66 69 65 | 6c 64 20 69 6e 66 6f 76 |mail-fie|ld infov|
|00004ab0| 61 6c 20 6d 6c 69 73 74 | 20 6d 6c 2d 65 6c 65 6d |al mlist| ml-elem|
|00004ac0| 20 72 65 67 65 78 70 20 | 74 68 69 6e 67 20 73 74 | regexp |thing st|
|00004ad0| 72 69 6e 67 2d 6d 61 74 | 63 68 5d 20 34 20 28 23 |ring-mat|ch] 4 (#|
|00004ae0| 24 20 2e 20 31 38 38 35 | 35 29 5d 29 0a 23 40 32 |$ . 1885|5)]).#@2|
|00004af0| 35 20 53 74 61 72 74 20 | 6f 66 20 68 65 61 64 65 |5 Start |of heade|
|00004b00| 72 20 66 69 65 6c 64 73 | 2e 1f 0a 28 64 65 66 76 |r fields|...(defv|
|00004b10| 61 72 20 73 63 2d 6d 61 | 69 6c 2d 68 65 61 64 65 |ar sc-ma|il-heade|
|00004b20| 72 73 2d 73 74 61 72 74 | 20 6e 69 6c 20 28 23 24 |rs-start| nil (#$|
|00004b30| 20 2e 20 31 39 31 38 36 | 29 29 0a 23 40 32 33 20 | . 19186|)).#@23 |
|00004b40| 45 6e 64 20 6f 66 20 68 | 65 61 64 65 72 20 66 69 |End of h|eader fi|
|00004b50| 65 6c 64 73 2e 1f 0a 28 | 64 65 66 76 61 72 20 73 |elds...(|defvar s|
|00004b60| 63 2d 6d 61 69 6c 2d 68 | 65 61 64 65 72 73 2d 65 |c-mail-h|eaders-e|
|00004b70| 6e 64 20 6e 69 6c 20 28 | 23 24 20 2e 20 31 39 32 |nd nil (|#$ . 192|
|00004b80| 36 34 29 29 0a 23 40 35 | 30 20 46 6f 72 20 6d 69 |64)).#@5|0 For mi|
|00004b90| 6e 69 62 75 66 66 65 72 | 20 63 6f 6d 70 6c 65 74 |nibuffer| complet|
|00004ba0| 69 6f 6e 20 6f 6e 20 6d | 61 69 6c 20 66 69 65 6c |ion on m|ail fiel|
|00004bb0| 64 20 71 75 65 72 69 65 | 73 2e 1f 0a 28 64 65 66 |d querie|s...(def|
|00004bc0| 76 61 72 20 73 63 2d 6d | 61 69 6c 2d 66 69 65 6c |var sc-m|ail-fiel|
|00004bd0| 64 2d 68 69 73 74 6f 72 | 79 20 6e 69 6c 20 28 23 |d-histor|y nil (#|
|00004be0| 24 20 2e 20 31 39 33 33 | 38 29 29 0a 23 40 35 36 |$ . 1933|8)).#@56|
|00004bf0| 20 46 6f 72 20 6d 69 6e | 69 62 75 66 66 65 72 20 | For min|ibuffer |
|00004c00| 63 6f 6d 70 6c 65 74 69 | 6f 6e 20 6f 6e 20 6d 61 |completi|on on ma|
|00004c10| 69 6c 20 66 69 65 6c 64 | 20 6d 6f 64 69 66 69 63 |il field| modific|
|00004c20| 61 74 69 6f 6e 73 2e 1f | 0a 28 64 65 66 76 61 72 |ations..|.(defvar|
|00004c30| 20 73 63 2d 6d 61 69 6c | 2d 66 69 65 6c 64 2d 6d | sc-mail|-field-m|
|00004c40| 6f 64 69 66 69 63 61 74 | 69 6f 6e 2d 68 69 73 74 |odificat|ion-hist|
|00004c50| 6f 72 79 20 6e 69 6c 20 | 28 23 24 20 2e 20 31 39 |ory nil |(#$ . 19|
|00004c60| 34 34 31 29 29 0a 23 40 | 35 30 20 52 65 67 69 20 |441)).#@|50 Regi |
|00004c70| 66 72 61 6d 65 20 66 6f | 72 20 67 6c 6f 6d 6d 69 |frame fo|r glommi|
|00004c80| 6e 67 20 6d 61 69 6c 20 | 68 65 61 64 65 72 20 69 |ng mail |header i|
|00004c90| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2e 1f 0a 28 64 65 |nformati|on...(de|
|00004ca0| 66 76 61 72 20 73 63 2d | 6d 61 69 6c 2d 67 6c 6f |fvar sc-|mail-glo|
|00004cb0| 6d 2d 66 72 61 6d 65 20 | 28 71 75 6f 74 65 20 28 |m-frame |(quote (|
|00004cc0| 28 62 65 67 69 6e 20 28 | 73 65 74 71 20 73 63 2d |(begin (|setq sc-|
|00004cd0| 6d 61 69 6c 2d 68 65 61 | 64 65 72 73 2d 73 74 61 |mail-hea|ders-sta|
|00004ce0| 72 74 20 28 70 6f 69 6e | 74 29 29 29 20 28 22 5e |rt (poin|t))) ("^|
|00004cf0| 78 2d 61 74 74 72 69 62 | 75 74 69 6f 6e 3a 5b 20 |x-attrib|ution:[ |
|00004d00| 09 5d 2b 2e 2a 24 22 20 | 28 73 63 2d 6d 61 69 6c |.]+.*$" |(sc-mail|
|00004d10| 2d 66 65 74 63 68 2d 66 | 69 65 6c 64 20 74 29 20 |-fetch-f|ield t) |
|00004d20| 6e 69 6c 20 74 29 20 28 | 22 5e 5c 5c 53 20 2b 3a |nil t) (|"^\\S +:|
|00004d30| 2e 2a 24 22 20 28 73 63 | 2d 6d 61 69 6c 2d 66 65 |.*$" (sc|-mail-fe|
|00004d40| 74 63 68 2d 66 69 65 6c | 64 29 20 6e 69 6c 20 74 |tch-fiel|d) nil t|
|00004d50| 29 20 28 22 5e 24 22 20 | 28 6c 69 73 74 20 28 71 |) ("^$" |(list (q|
|00004d60| 75 6f 74 65 20 61 62 6f | 72 74 29 20 28 71 75 6f |uote abo|rt) (quo|
|00004d70| 74 65 20 28 73 74 65 70 | 20 2e 20 30 29 29 29 29 |te (step| . 0))))|
|00004d80| 20 28 22 5e 5b 20 09 5d | 2b 22 20 28 73 63 2d 6d | ("^[ .]|+" (sc-m|
|00004d90| 61 69 6c 2d 61 70 70 65 | 6e 64 2d 66 69 65 6c 64 |ail-appe|nd-field|
|00004da0| 29 29 20 28 73 63 2d 6d | 61 69 6c 2d 77 61 72 6e |)) (sc-m|ail-warn|
|00004db0| 2d 69 66 2d 6e 6f 6e 2d | 72 66 63 38 32 32 2d 70 |-if-non-|rfc822-p|
|00004dc0| 20 28 73 63 2d 6d 61 69 | 6c 2d 65 72 72 6f 72 2d | (sc-mai|l-error-|
|00004dd0| 69 6e 2d 6d 61 69 6c 2d | 66 69 65 6c 64 29 29 20 |in-mail-|field)) |
|00004de0| 28 65 6e 64 20 28 73 65 | 74 71 20 73 63 2d 6d 61 |(end (se|tq sc-ma|
|00004df0| 69 6c 2d 68 65 61 64 65 | 72 73 2d 65 6e 64 20 28 |il-heade|rs-end (|
|00004e00| 70 6f 69 6e 74 29 29 29 | 29 29 20 28 23 24 20 2e |point)))|)) (#$ .|
|00004e10| 20 31 39 35 36 33 29 29 | 0a 23 40 31 34 30 20 49 | 19563))|.#@140 I|
|00004e20| 6e 73 65 72 74 20 61 20 | 6b 65 79 20 61 6e 64 20 |nsert a |key and |
|00004e30| 76 61 6c 75 65 20 69 6e | 74 6f 20 60 73 63 2d 6d |value in|to `sc-m|
|00004e40| 61 69 6c 2d 69 6e 66 6f | 27 20 61 6c 69 73 74 2e |ail-info|' alist.|
|00004e50| 0a 49 66 20 6f 70 74 69 | 6f 6e 61 6c 20 41 54 54 |.If opti|onal ATT|
|00004e60| 52 49 42 53 2d 50 20 69 | 73 20 6e 6f 6e 2d 6e 69 |RIBS-P i|s non-ni|
|00004e70| 6c 2c 20 74 68 65 20 6b | 65 79 2f 76 61 6c 75 65 |l, the k|ey/value|
|00004e80| 20 70 61 69 72 20 69 73 | 20 70 6c 61 63 65 64 20 | pair is| placed |
|00004e90| 69 6e 0a 60 73 63 2d 61 | 74 74 72 69 62 75 74 69 |in.`sc-a|ttributi|
|00004ea0| 6f 6e 73 27 20 74 6f 6f | 2e 1f 0a 28 64 65 66 61 |ons' too|...(defa|
|00004eb0| 6c 69 61 73 20 27 73 63 | 2d 6d 61 69 6c 2d 66 65 |lias 'sc|-mail-fe|
|00004ec0| 74 63 68 2d 66 69 65 6c | 64 20 23 5b 28 26 6f 70 |tch-fiel|d #[(&op|
|00004ed0| 74 69 6f 6e 61 6c 20 61 | 74 74 72 69 62 73 2d 70 |tional a|ttribs-p|
|00004ee0| 29 20 22 c0 c1 5c 6e 5c | 22 83 32 00 c3 c4 c5 5c |) "..\n\|".2....\|
|00004ef0| 6e 5c 22 21 97 1e 06 c3 | c4 c7 5c 6e 5c 22 21 1e |n\"!....|..\n\"!.|
|00004f00| 08 0e 06 0e 08 42 89 1e | 09 0e 5c 6e 42 16 5c 6e |.....B..|..\nB.\n|
|00004f10| 0e 0b 83 31 00 0e 09 0e | 5c 66 42 16 5c 66 2b cd |...1....|\fB.\f+.|
|00004f20| 87 22 20 5b 73 74 72 69 | 6e 67 2d 6d 61 74 63 68 |." [stri|ng-match|
|00004f30| 20 22 5e 5c 5c 28 5c 5c | 53 20 2a 5c 5c 29 5c 5c | "^\\(\\|S *\\)\\|
|00004f40| 73 20 2a 3a 5c 5c 73 20 | 2b 5c 5c 28 2e 2a 5c 5c |s *:\\s |+\\(.*\\|
|00004f50| 29 24 22 20 63 75 72 6c | 69 6e 65 20 73 63 2d 73 |)$" curl|ine sc-s|
|00004f60| 74 72 69 6e 67 2d 74 65 | 78 74 20 73 63 2d 73 75 |tring-te|xt sc-su|
|00004f70| 62 6d 61 74 63 68 20 31 | 20 6b 65 79 20 32 20 76 |bmatch 1| key 2 v|
|00004f80| 61 6c 20 6b 65 79 76 61 | 6c 20 73 63 2d 6d 61 69 |al keyva|l sc-mai|
|00004f90| 6c 2d 69 6e 66 6f 20 61 | 74 74 72 69 62 73 2d 70 |l-info a|ttribs-p|
|00004fa0| 20 73 63 2d 61 74 74 72 | 69 62 75 74 69 6f 6e 73 | sc-attr|ibutions|
|00004fb0| 20 6e 69 6c 5d 20 35 20 | 28 23 24 20 2e 20 31 39 | nil] 5 |(#$ . 19|
|00004fc0| 39 39 39 29 5d 29 0a 23 | 40 36 39 20 41 70 70 65 |999)]).#|@69 Appe|
|00004fd0| 6e 64 20 61 20 63 6f 6e | 74 69 6e 75 61 74 69 6f |nd a con|tinuatio|
|00004fe0| 6e 20 6c 69 6e 65 20 6f | 6e 74 6f 20 74 68 65 20 |n line o|nto the |
|00004ff0| 6c 61 73 74 20 66 65 74 | 63 68 65 64 20 6d 61 69 |last fet|ched mai|
|00005000| 6c 20 66 69 65 6c 64 27 | 73 20 69 6e 66 6f 2e 1f |l field'|s info..|
|00005010| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 73 63 2d 6d |.(defali|as 'sc-m|
|00005020| 61 69 6c 2d 61 70 70 65 | 6e 64 2d 66 69 65 6c 64 |ail-appe|nd-field|
|00005030| 20 23 5b 6e 69 6c 20 22 | 08 40 89 19 83 1b 00 c2 | #[nil "|.@......|
|00005040| c3 5c 66 5c 22 83 1b 00 | 09 89 41 c5 c6 c7 c8 5c |.\f\"...|..A....\|
|00005050| 66 5c 22 21 51 a1 88 29 | c9 87 22 20 5b 73 63 2d |f\"!Q..)|.." [sc-|
|00005060| 6d 61 69 6c 2d 69 6e 66 | 6f 20 6b 65 79 76 61 6c |mail-inf|o keyval|
|00005070| 20 73 74 72 69 6e 67 2d | 6d 61 74 63 68 20 22 5e | string-|match "^|
|00005080| 5c 5c 73 20 2a 5c 5c 28 | 2e 2a 5c 5c 29 24 22 20 |\\s *\\(|.*\\)$" |
|00005090| 63 75 72 6c 69 6e 65 20 | 22 20 22 20 73 63 2d 73 |curline |" " sc-s|
|000050a0| 74 72 69 6e 67 2d 74 65 | 78 74 20 73 63 2d 73 75 |tring-te|xt sc-su|
|000050b0| 62 6d 61 74 63 68 20 31 | 20 6e 69 6c 5d 20 38 20 |bmatch 1| nil] 8 |
|000050c0| 28 23 24 20 2e 20 32 30 | 34 32 38 29 5d 29 0a 23 |(#$ . 20|428)]).#|
|000050d0| 40 35 39 20 49 73 73 75 | 65 20 77 61 72 6e 69 6e |@59 Issu|e warnin|
|000050e0| 67 20 74 68 61 74 20 6d | 61 69 6c 20 68 65 61 64 |g that m|ail head|
|000050f0| 65 72 73 20 64 6f 6e 27 | 74 20 63 6f 6e 66 6f 72 |ers don'|t confor|
|00005100| 6d 20 74 6f 20 52 46 43 | 20 38 32 32 2e 1f 0a 28 |m to RFC| 822...(|
|00005110| 64 65 66 61 6c 69 61 73 | 20 27 73 63 2d 6d 61 69 |defalias| 'sc-mai|
|00005120| 6c 2d 65 72 72 6f 72 2d | 69 6e 2d 6d 61 69 6c 2d |l-error-|in-mail-|
|00005130| 66 69 65 6c 64 20 23 5b | 6e 69 6c 20 22 08 47 c1 |field #[|nil ".G.|
|00005140| 5e 89 1a 08 47 57 83 10 | 00 c3 82 11 00 c4 1d c6 |^...GW..|........|
|00005150| 1e 07 c8 0e 07 08 c9 5c | 6e 4f 0d 23 88 2b ca 20 |.......\|nO.#.+. |
|00005160| 88 cb cc 21 88 cd 87 22 | 20 5b 63 75 72 6c 69 6e |...!..."| [curlin|
|00005170| 65 20 31 30 20 6c 65 6e | 20 22 2e 2e 2e 22 20 22 |e 10 len| "..." "|
|00005180| 22 20 65 6c 6c 69 70 73 | 69 73 20 22 4d 61 69 6c |" ellips|is "Mail|
|00005190| 20 68 65 61 64 65 72 20 | 5c 22 25 73 25 73 5c 22 | header |\"%s%s\"|
|000051a0| 20 64 6f 65 73 6e 27 74 | 20 63 6f 6e 66 6f 72 6d | doesn't| conform|
|000051b0| 20 74 6f 20 52 46 43 20 | 38 32 32 2e 20 73 6b 69 | to RFC |822. ski|
|000051c0| 70 70 69 6e 67 2e 2e 2e | 22 20 6d 73 67 20 6d 65 |pping...|" msg me|
|000051d0| 73 73 61 67 65 20 30 20 | 62 65 65 70 20 73 69 74 |ssage 0 |beep sit|
|000051e0| 2d 66 6f 72 20 32 20 6e | 69 6c 5d 20 36 20 28 23 |-for 2 n|il] 6 (#|
|000051f0| 24 20 2e 20 32 30 36 39 | 32 29 5d 29 0a 23 40 33 |$ . 2069|2)]).#@3|
|00005200| 36 20 54 72 75 65 20 69 | 66 20 74 68 65 20 6c 61 |6 True i|f the la|
|00005210| 73 74 20 68 65 61 64 65 | 72 20 77 61 73 20 6e 75 |st heade|r was nu|
|00005220| 6b 65 64 2e 1f 0a 28 64 | 65 66 76 61 72 20 73 63 |ked...(d|efvar sc|
|00005230| 2d 6d 61 69 6c 2d 6c 61 | 73 74 2d 68 65 61 64 65 |-mail-la|st-heade|
|00005240| 72 2d 6e 75 6b 65 64 2d | 70 20 6e 69 6c 20 28 23 |r-nuked-|p nil (#|
|00005250| 24 20 2e 20 32 30 39 39 | 34 29 29 0a 23 40 33 36 |$ . 2099|4)).#@36|
|00005260| 20 4e 75 6b 65 20 74 68 | 65 20 63 75 72 72 65 6e | Nuke th|e curren|
|00005270| 74 20 6d 61 69 6c 20 68 | 65 61 64 65 72 20 6c 69 |t mail h|eader li|
|00005280| 6e 65 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ne...(de|falias '|
|00005290| 73 63 2d 6d 61 69 6c 2d | 6e 75 6b 65 2d 6c 69 6e |sc-mail-|nuke-lin|
|000052a0| 65 20 23 5b 6e 69 6c 20 | 22 c0 c1 21 c0 c2 21 7c |e #[nil |"..!..!||
|000052b0| 88 c3 87 22 20 5b 72 65 | 67 69 2d 70 6f 73 20 62 |..." [re|gi-pos b|
|000052c0| 6f 6c 20 62 6f 6e 6c 20 | 28 28 73 74 65 70 20 2e |ol bonl |((step .|
|000052d0| 20 2d 31 29 29 5d 20 33 | 20 28 23 24 20 2e 20 32 | -1))] 3| (#$ . 2|
|000052e0| 31 30 38 39 29 5d 29 0a | 23 40 35 39 20 44 65 6c |1089)]).|#@59 Del|
|000052f0| 65 74 65 20 63 75 72 72 | 65 6e 74 2d 6c 69 6e 65 |ete curr|ent-line|
|00005300| 20 61 6e 64 20 73 65 74 | 20 75 70 20 66 6f 72 20 | and set| up for |
|00005310| 70 6f 73 73 69 62 6c 65 | 20 63 6f 6e 74 69 6e 75 |possible| continu|
|00005320| 61 74 69 6f 6e 2e 1f 0a | 28 64 65 66 61 6c 69 61 |ation...|(defalia|
|00005330| 73 20 27 73 63 2d 6d 61 | 69 6c 2d 6e 75 6b 65 2d |s 'sc-ma|il-nuke-|
|00005340| 68 65 61 64 65 72 2d 6c | 69 6e 65 20 23 5b 6e 69 |header-l|ine #[ni|
|00005350| 6c 20 22 c0 11 c2 20 87 | 22 20 5b 74 20 73 63 2d |l "... .|" [t sc-|
|00005360| 6d 61 69 6c 2d 6c 61 73 | 74 2d 68 65 61 64 65 72 |mail-las|t-header|
|00005370| 2d 6e 75 6b 65 64 2d 70 | 20 73 63 2d 6d 61 69 6c |-nuked-p| sc-mail|
|00005380| 2d 6e 75 6b 65 2d 6c 69 | 6e 65 5d 20 31 20 28 23 |-nuke-li|ne] 1 (#|
|00005390| 24 20 2e 20 32 31 32 32 | 39 29 5d 29 0a 23 40 36 |$ . 2122|9)]).#@6|
|000053a0| 35 20 44 65 6c 65 74 65 | 20 61 20 63 6f 6e 74 69 |5 Delete| a conti|
|000053b0| 6e 75 61 74 69 6f 6e 20 | 6c 69 6e 65 20 69 66 20 |nuation |line if |
|000053c0| 74 68 65 20 6c 61 73 74 | 20 68 65 61 64 65 72 20 |the last| header |
|000053d0| 6c 69 6e 65 20 77 61 73 | 20 64 65 6c 65 74 65 64 |line was| deleted|
|000053e0| 2e 1f 0a 28 64 65 66 61 | 6c 69 61 73 20 27 73 63 |...(defa|lias 'sc|
|000053f0| 2d 6d 61 69 6c 2d 6e 75 | 6b 65 2d 63 6f 6e 74 69 |-mail-nu|ke-conti|
|00005400| 6e 75 61 74 69 6f 6e 2d | 6c 69 6e 65 20 23 5b 6e |nuation-|line #[n|
|00005410| 69 6c 20 22 08 85 06 00 | c1 20 87 22 20 5b 73 63 |il "....|. ." [sc|
|00005420| 2d 6d 61 69 6c 2d 6c 61 | 73 74 2d 68 65 61 64 65 |-mail-la|st-heade|
|00005430| 72 2d 6e 75 6b 65 64 2d | 70 20 73 63 2d 6d 61 69 |r-nuked-|p sc-mai|
|00005440| 6c 2d 6e 75 6b 65 2d 6c | 69 6e 65 5d 20 31 20 28 |l-nuke-l|ine] 1 (|
|00005450| 23 24 20 2e 20 32 31 34 | 31 30 29 5d 29 0a 23 40 |#$ . 214|10)]).#@|
|00005460| 31 33 36 20 4c 65 61 76 | 65 20 73 6f 6d 65 20 62 |136 Leav|e some b|
|00005470| 6c 61 6e 6b 20 6c 69 6e | 65 73 20 61 66 74 65 72 |lank lin|es after|
|00005480| 20 6f 72 69 67 69 6e 61 | 6c 20 6d 61 69 6c 20 68 | origina|l mail h|
|00005490| 65 61 64 65 72 73 20 61 | 72 65 20 6e 75 6b 65 64 |eaders a|re nuked|
|000054a0| 2e 0a 54 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |..The nu|mber of |
|000054b0| 6c 69 6e 65 73 20 6c 65 | 66 74 20 69 73 20 73 70 |lines le|ft is sp|
|000054c0| 65 63 69 66 69 65 64 20 | 62 79 20 60 73 63 2d 62 |ecified |by `sc-b|
|000054d0| 6c 61 6e 6b 2d 6c 69 6e | 65 73 2d 61 66 74 65 72 |lank-lin|es-after|
|000054e0| 2d 68 65 61 64 65 72 73 | 27 2e 1f 0a 28 64 65 66 |-headers|'...(def|
|000054f0| 61 6c 69 61 73 20 27 73 | 63 2d 6d 61 69 6c 2d 63 |alias 's|c-mail-c|
|00005500| 6c 65 61 6e 75 70 2d 62 | 6c 61 6e 6b 2d 6c 69 6e |leanup-b|lank-lin|
|00005510| 65 73 20 23 5b 6e 69 6c | 20 22 08 83 28 00 8c 7e |es #[nil| "..(..~|
|00005520| 88 c1 c2 78 88 c3 79 88 | c4 20 88 c5 79 88 c6 c7 |...x..y.|. ..y...|
|00005530| 21 83 5c 22 00 c8 c9 21 | c8 ca 21 7c 88 cb cc 08 |!.\"...!|..!|....|
|00005540| 5c 22 88 29 c2 87 22 20 | 5b 73 63 2d 62 6c 61 6e |\".).." |[sc-blan|
|00005550| 6b 2d 6c 69 6e 65 73 2d | 61 66 74 65 72 2d 68 65 |k-lines-|after-he|
|00005560| 61 64 65 72 73 20 22 20 | 09 5c 6e 22 20 6e 69 6c |aders " |.\n" nil|
|00005570| 20 31 20 64 65 6c 65 74 | 65 2d 62 6c 61 6e 6b 2d | 1 delet|e-blank-|
|00005580| 6c 69 6e 65 73 20 30 20 | 6c 6f 6f 6b 69 6e 67 2d |lines 0 |looking-|
|00005590| 61 74 20 22 5b 20 09 5d | 2a 24 22 20 72 65 67 69 |at "[ .]|*$" regi|
|000055a0| 2d 70 6f 73 20 62 6f 6c | 20 62 6f 6e 6c 20 69 6e |-pos bol| bonl in|
|000055b0| 73 65 72 74 2d 63 68 61 | 72 20 31 30 5d 20 33 20 |sert-cha|r 10] 3 |
|000055c0| 28 23 24 20 2e 20 32 31 | 36 30 34 29 5d 29 0a 23 |(#$ . 21|604)]).#|
|000055d0| 40 34 36 20 42 75 69 6c | 64 20 74 68 65 20 72 65 |@46 Buil|d the re|
|000055e0| 67 69 66 72 61 6d 65 20 | 66 6f 72 20 6e 75 6b 69 |giframe |for nuki|
|000055f0| 6e 67 20 6d 61 69 6c 20 | 68 65 61 64 65 72 73 2e |ng mail |headers.|
|00005600| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 73 63 2d |..(defal|ias 'sc-|
|00005610| 6d 61 69 6c 2d 62 75 69 | 6c 64 2d 6e 75 6b 65 2d |mail-bui|ld-nuke-|
|00005620| 66 72 61 6d 65 20 23 5b | 6e 69 6c 20 22 c0 89 89 |frame #[|nil "...|
|00005630| 19 1a 1b 5c 66 c5 3d 83 | 11 00 c6 13 82 36 00 5c |...\f.=.|.....6.\|
|00005640| 66 c7 3d 83 1e 00 c8 12 | c9 11 82 36 00 5c 66 ca |f.=.....|...6.\f.|
|00005650| 3d 83 2b 00 cb 12 cc 11 | 82 36 00 5c 66 cd 3d 84 |=.+.....|.6.\f.=.|
|00005660| 36 00 ce cf 5c 66 5c 22 | 88 d0 5c 6e 85 42 00 d1 |6...\f\"|..\n.B..|
|00005670| 0e 12 5c 6e c0 d3 24 09 | 85 4a 00 d4 09 44 43 0b |..\n..$.|.J...DC.|
|00005680| 3f 85 50 00 d5 d6 d7 0b | 85 5a 00 d8 0b 44 43 26 |?.P.....|.Z...DC&|
|00005690| 06 2b 87 22 20 5b 6e 69 | 6c 20 6e 6f 6e 65 6e 74 |.+." [ni|l nonent|
|000056a0| 72 79 2d 66 75 6e 63 20 | 65 6e 74 72 79 2d 66 75 |ry-func |entry-fu|
|000056b0| 6e 63 20 65 76 65 72 79 | 2d 66 75 6e 63 20 73 63 |nc every|-func sc|
|000056c0| 2d 6e 75 6b 65 2d 6d 61 | 69 6c 2d 68 65 61 64 65 |-nuke-ma|il-heade|
|000056d0| 72 73 20 61 6c 6c 20 28 | 70 72 6f 67 6e 20 28 66 |rs all (|progn (f|
|000056e0| 6f 72 77 61 72 64 2d 6c | 69 6e 65 20 2d 31 29 20 |orward-l|ine -1) |
|000056f0| 28 73 63 2d 6d 61 69 6c | 2d 6e 75 6b 65 2d 6c 69 |(sc-mail|-nuke-li|
|00005700| 6e 65 29 29 20 73 70 65 | 63 69 66 69 65 64 20 28 |ne)) spe|cified (|
|00005710| 73 63 2d 6d 61 69 6c 2d | 6e 75 6b 65 2d 68 65 61 |sc-mail-|nuke-hea|
|00005720| 64 65 72 2d 6c 69 6e 65 | 29 20 28 73 65 74 71 20 |der-line|) (setq |
|00005730| 73 63 2d 6d 61 69 6c 2d | 6c 61 73 74 2d 68 65 61 |sc-mail-|last-hea|
|00005740| 64 65 72 2d 6e 75 6b 65 | 64 2d 70 20 6e 69 6c 29 |der-nuke|d-p nil)|
|00005750| 20 6b 65 65 70 20 28 73 | 65 74 71 20 73 63 2d 6d | keep (s|etq sc-m|
|00005760| 61 69 6c 2d 6c 61 73 74 | 2d 68 65 61 64 65 72 2d |ail-last|-header-|
|00005770| 6e 75 6b 65 64 2d 70 20 | 6e 69 6c 29 20 28 73 63 |nuked-p |nil) (sc|
|00005780| 2d 6d 61 69 6c 2d 6e 75 | 6b 65 2d 68 65 61 64 65 |-mail-nu|ke-heade|
|00005790| 72 2d 6c 69 6e 65 29 20 | 6e 6f 6e 65 20 65 72 72 |r-line) |none err|
|000057a0| 6f 72 20 22 49 6c 6c 65 | 67 61 6c 20 76 61 6c 75 |or "Ille|gal valu|
|000057b0| 65 20 66 6f 72 20 73 63 | 2d 6e 75 6b 65 2d 6d 61 |e for sc|-nuke-ma|
|000057c0| 69 6c 2d 68 65 61 64 65 | 72 73 3a 20 25 73 22 20 |il-heade|rs: %s" |
|000057d0| 61 70 70 65 6e 64 20 72 | 65 67 69 2d 6d 61 70 63 |append r|egi-mapc|
|000057e0| 61 72 20 73 63 2d 6e 75 | 6b 65 2d 6d 61 69 6c 2d |ar sc-nu|ke-mail-|
|000057f0| 68 65 61 64 65 72 2d 6c | 69 73 74 20 74 20 22 5e |header-l|ist t "^|
|00005800| 5c 5c 53 20 2b 3a 2e 2a | 24 22 20 28 28 22 5e 5b |\\S +:.*|$" (("^[|
|00005810| 20 09 5d 2b 22 20 28 73 | 63 2d 6d 61 69 6c 2d 6e | .]+" (s|c-mail-n|
|00005820| 75 6b 65 2d 63 6f 6e 74 | 69 6e 75 61 74 69 6f 6e |uke-cont|inuation|
|00005830| 2d 6c 69 6e 65 29 29 29 | 20 28 28 62 65 67 69 6e |-line)))| ((begin|
|00005840| 20 28 73 65 74 71 20 73 | 63 2d 6d 61 69 6c 2d 6c | (setq s|c-mail-l|
|00005850| 61 73 74 2d 68 65 61 64 | 65 72 2d 7a 61 70 70 65 |ast-head|er-zappe|
|00005860| 64 2d 70 20 6e 69 6c 29 | 29 29 20 28 28 65 6e 64 |d-p nil)|)) ((end|
|00005870| 20 28 73 63 2d 6d 61 69 | 6c 2d 63 6c 65 61 6e 75 | (sc-mai|l-cleanu|
|00005880| 70 2d 62 6c 61 6e 6b 2d | 6c 69 6e 65 73 29 29 29 |p-blank-|lines)))|
|00005890| 20 65 76 65 72 79 5d 20 | 38 20 28 23 24 20 2e 20 | every] |8 (#$ . |
|000058a0| 32 31 39 37 32 29 5d 29 | 0a 23 40 31 39 37 20 50 |21972)])|.#@197 P|
|000058b0| 72 6f 63 65 73 73 20 6f | 72 69 67 69 6e 61 6c 20 |rocess o|riginal |
|000058c0| 6d 61 69 6c 20 6d 65 73 | 73 61 67 65 27 73 20 6d |mail mes|sage's m|
|000058d0| 61 69 6c 20 68 65 61 64 | 65 72 73 2e 0a 41 66 74 |ail head|ers..Aft|
|000058e0| 65 72 20 70 72 6f 63 65 | 73 73 69 6e 67 2c 20 6d |er proce|ssing, m|
|000058f0| 61 69 6c 20 68 65 61 64 | 65 72 73 20 6d 61 79 20 |ail head|ers may |
|00005900| 62 65 20 6e 75 6b 65 64 | 2e 20 20 48 65 61 64 65 |be nuked|. Heade|
|00005910| 72 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 69 73 |r inform|ation is|
|00005920| 0a 73 74 6f 72 65 64 20 | 69 6e 20 60 73 63 2d 6d |.stored |in `sc-m|
|00005930| 61 69 6c 2d 69 6e 66 6f | 27 2c 20 61 6e 64 20 61 |ail-info|', and a|
|00005940| 6e 79 20 6f 6c 64 20 69 | 6e 66 6f 72 6d 61 74 69 |ny old i|nformati|
|00005950| 6f 6e 20 69 73 20 6c 6f | 73 74 20 75 6e 6c 65 73 |on is lo|st unles|
|00005960| 73 20 61 6e 0a 65 72 72 | 6f 72 20 6f 63 63 75 72 |s an.err|or occur|
|00005970| 73 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 73 |s...(def|alias 's|
|00005980| 63 2d 6d 61 69 6c 2d 70 | 72 6f 63 65 73 73 2d 68 |c-mail-p|rocess-h|
|00005990| 65 61 64 65 72 73 20 23 | 5b 28 73 74 61 72 74 20 |eaders #|[(start |
|000059a0| 65 6e 64 29 20 22 c0 09 | 21 c0 5c 6e 21 1b 1c c5 |end) "..|!.\n!...|
|000059b0| 11 c5 12 c6 0e 07 0e 08 | 0e 09 23 88 09 84 25 00 |........|..#...%.|
|000059c0| ca cb 21 88 5c 66 11 0b | 89 12 82 2d 00 c6 cc 20 |..!.\f..|...-... |
|000059d0| 0e 0d 0e 0e 23 2a 87 22 | 20 5b 63 6f 70 79 2d 61 |....#*."| [copy-a|
|000059e0| 6c 69 73 74 20 73 63 2d | 6d 61 69 6c 2d 69 6e 66 |list sc-|mail-inf|
|000059f0| 6f 20 73 63 2d 61 74 74 | 72 69 62 75 74 69 6f 6e |o sc-att|ribution|
|00005a00| 73 20 61 74 74 72 69 62 | 73 20 69 6e 66 6f 20 6e |s attrib|s info n|
|00005a10| 69 6c 20 72 65 67 69 2d | 69 6e 74 65 72 70 72 65 |il regi-|interpre|
|00005a20| 74 20 73 63 2d 6d 61 69 | 6c 2d 67 6c 6f 6d 2d 66 |t sc-mai|l-glom-f|
|00005a30| 72 61 6d 65 20 73 74 61 | 72 74 20 65 6e 64 20 6d |rame sta|rt end m|
|00005a40| 65 73 73 61 67 65 20 22 | 4e 6f 20 6d 61 69 6c 20 |essage "|No mail |
|00005a50| 68 65 61 64 65 72 73 20 | 66 6f 75 6e 64 21 20 52 |headers |found! R|
|00005a60| 65 73 74 6f 72 69 6e 67 | 20 6f 6c 64 20 69 6e 66 |estoring| old inf|
|00005a70| 6f 72 6d 61 74 69 6f 6e | 2e 22 20 73 63 2d 6d 61 |ormation|." sc-ma|
|00005a80| 69 6c 2d 62 75 69 6c 64 | 2d 6e 75 6b 65 2d 66 72 |il-build|-nuke-fr|
|00005a90| 61 6d 65 20 73 63 2d 6d | 61 69 6c 2d 68 65 61 64 |ame sc-m|ail-head|
|00005aa0| 65 72 73 2d 73 74 61 72 | 74 20 73 63 2d 6d 61 69 |ers-star|t sc-mai|
|00005ab0| 6c 2d 68 65 61 64 65 72 | 73 2d 65 6e 64 5d 20 34 |l-header|s-end] 4|
|00005ac0| 20 28 23 24 20 2e 20 32 | 32 37 30 33 29 20 22 72 | (#$ . 2|2703) "r|
|00005ad0| 22 5d 29 0a 23 40 31 37 | 31 20 52 65 74 75 72 6e |"]).#@17|1 Return|
|00005ae0| 20 74 68 65 20 6d 61 69 | 6c 20 68 65 61 64 65 72 | the mai|l header|
|00005af0| 20 66 69 65 6c 64 20 76 | 61 6c 75 65 20 61 73 73 | field v|alue ass|
|00005b00| 6f 63 69 61 74 65 64 20 | 77 69 74 68 20 46 49 45 |ociated |with FIE|
|00005b10| 4c 44 2e 0a 49 66 20 74 | 68 65 72 65 20 77 61 73 |LD..If t|here was|
|00005b20| 20 6e 6f 20 6d 61 69 6c | 20 68 65 61 64 65 72 20 | no mail| header |
|00005b30| 77 69 74 68 20 46 49 45 | 4c 44 20 61 73 20 69 74 |with FIE|LD as it|
|00005b40| 73 20 6b 65 79 2c 20 72 | 65 74 75 72 6e 20 74 68 |s key, r|eturn th|
|00005b50| 65 20 76 61 6c 75 65 20 | 6f 66 0a 60 73 63 2d 6d |e value |of.`sc-m|
|00005b60| 75 6d 62 6c 65 27 2e 20 | 20 46 49 45 4c 44 20 69 |umble'. | FIELD i|
|00005b70| 73 20 63 61 73 65 20 69 | 6e 73 65 6e 73 69 74 69 |s case i|nsensiti|
|00005b80| 76 65 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |ve...(de|falias '|
|00005b90| 73 63 2d 6d 61 69 6c 2d | 66 69 65 6c 64 20 23 5b |sc-mail-|field #[|
|00005ba0| 28 66 69 65 6c 64 29 20 | 22 c0 09 97 5c 6e 5c 22 |(field) |"...\n\"|
|00005bb0| 41 86 5c 6e 00 0b 87 22 | 20 5b 61 73 73 6f 63 20 |A.\n..."| [assoc |
|00005bc0| 66 69 65 6c 64 20 73 63 | 2d 6d 61 69 6c 2d 69 6e |field sc|-mail-in|
|00005bd0| 66 6f 20 73 63 2d 6d 75 | 6d 62 6c 65 5d 20 33 20 |fo sc-mu|mble] 3 |
|00005be0| 28 23 24 20 2e 20 32 33 | 32 35 38 29 5d 29 0a 23 |(#$ . 23|258)]).#|
|00005bf0| 40 31 34 39 20 56 69 65 | 77 20 74 68 65 20 76 61 |@149 Vie|w the va|
|00005c00| 6c 75 65 20 6f 66 20 61 | 20 6d 61 69 6c 20 66 69 |lue of a| mail fi|
|00005c10| 65 6c 64 2e 0a 57 69 74 | 68 20 60 5c 5b 75 6e 69 |eld..Wit|h `\[uni|
|00005c20| 76 65 72 73 61 6c 2d 61 | 72 67 75 6d 65 6e 74 5d |versal-a|rgument]|
|00005c30| 27 2c 20 70 72 6f 6d 70 | 74 73 20 66 6f 72 20 61 |', promp|ts for a|
|00005c40| 63 74 69 6f 6e 20 6f 6e | 20 6d 61 69 6c 20 66 69 |ction on| mail fi|
|00005c50| 65 6c 64 2e 0a 41 63 74 | 69 6f 6e 20 63 61 6e 20 |eld..Act|ion can |
|00005c60| 62 65 20 6f 6e 65 20 6f | 66 3a 20 56 69 65 77 2c |be one o|f: View,|
|00005c70| 20 4d 6f 64 69 66 79 2c | 20 41 64 64 2c 20 6f 72 | Modify,| Add, or|
|00005c80| 20 44 65 6c 65 74 65 2e | 1f 0a 28 64 65 66 61 6c | Delete.|..(defal|
|00005c90| 69 61 73 20 27 73 63 2d | 6d 61 69 6c 2d 66 69 65 |ias 'sc-|mail-fie|
|00005ca0| 6c 64 2d 71 75 65 72 79 | 20 23 5b 28 61 72 67 29 |ld-query| #[(arg)|
|00005cb0| 20 22 c0 19 5c 6e 84 5c | 6e 00 c3 82 0d 00 c4 09 | "..\n.\|n.......|
|00005cc0| 21 1d c6 1e 07 0d 85 9f | 00 c8 c9 0d 09 5c 22 40 |!.......|.....\"@|
|00005cd0| ca 50 0e 0b c6 0d cc 3d | 3f 85 28 00 cd c6 ce 26 |.P.....=|?.(....&|
|00005ce0| 06 16 07 0d c3 3d 83 43 | 00 cf d0 0e 07 d1 0e 07 |.....=.C|........|
|00005cf0| 0e 0b 5c 22 41 23 82 9f | 00 0d d2 3d 83 59 00 d3 |..\"A#..|...=.Y..|
|00005d00| d1 0e 07 0e 0b 5c 22 0e | 0b 5c 22 89 16 0b 82 9f |.....\".|.\".....|
|00005d10| 00 0d d4 3d 83 8a 00 d1 | 0e 07 0e 0b 5c 22 1e 15 |...=....|....\"..|
|00005d20| d6 0e 15 41 0e 17 5c 22 | 84 79 00 0e 15 41 0e 17 |...A..\"|.y...A..|
|00005d30| 42 16 17 0e 15 d8 0e 07 | d9 50 0e 15 41 d7 23 a1 |B.......|.P..A.#.|
|00005d40| 29 82 9f 00 0d cc 3d 85 | 9f 00 0e 07 d8 0e 07 d9 |).....=.|........|
|00005d50| 50 21 42 0e 0b 42 89 16 | 0b 2b 87 22 20 5b 28 28 |P!B..B..|.+." [((|
|00005d60| 22 76 69 65 77 22 20 2e | 20 31 31 38 29 20 28 22 |"view" .| 118) ("|
|00005d70| 6d 6f 64 69 66 79 22 20 | 2e 20 31 30 39 29 20 28 |modify" |. 109) (|
|00005d80| 22 61 64 64 22 20 2e 20 | 39 37 29 20 28 22 64 65 |"add" . |97) ("de|
|00005d90| 6c 65 74 65 22 20 2e 20 | 31 30 30 29 29 20 61 6c |lete" . |100)) al|
|00005da0| 69 73 74 20 61 72 67 20 | 31 31 38 20 73 63 2d 61 |ist arg |118 sc-a|
|00005db0| 73 6b 20 61 63 74 69 6f | 6e 20 6e 69 6c 20 6b 65 |sk actio|n nil ke|
|00005dc0| 79 20 73 63 2d 63 6f 6d | 70 6c 65 74 69 6e 67 2d |y sc-com|pleting-|
|00005dd0| 72 65 61 64 20 72 61 73 | 73 71 20 22 20 69 6e 66 |read ras|sq " inf|
|00005de0| 6f 72 6d 61 74 69 6f 6e | 20 6b 65 79 3a 20 22 20 |ormation| key: " |
|00005df0| 73 63 2d 6d 61 69 6c 2d | 69 6e 66 6f 20 39 37 20 |sc-mail-|info 97 |
|00005e00| 6e 6f 65 78 69 74 20 73 | 63 2d 6d 61 69 6c 2d 66 |noexit s|c-mail-f|
|00005e10| 69 65 6c 64 2d 68 69 73 | 74 6f 72 79 20 6d 65 73 |ield-his|tory mes|
|00005e20| 73 61 67 65 20 22 25 73 | 3a 20 25 73 22 20 61 73 |sage "%s|: %s" as|
|00005e30| 73 6f 63 20 31 30 30 20 | 64 65 6c 71 20 31 30 39 |soc 100 |delq 109|
|00005e40| 20 6b 65 79 76 61 6c 20 | 73 63 2d 6d 65 6d 62 65 | keyval |sc-membe|
|00005e50| 72 20 73 63 2d 6d 61 69 | 6c 2d 66 69 65 6c 64 2d |r sc-mai|l-field-|
|00005e60| 6d 6f 64 69 66 69 63 61 | 74 69 6f 6e 2d 68 69 73 |modifica|tion-his|
|00005e70| 74 6f 72 79 20 73 63 2d | 72 65 61 64 2d 73 74 72 |tory sc-|read-str|
|00005e80| 69 6e 67 20 22 3a 20 22 | 5d 20 37 20 28 23 24 20 |ing ": "|] 7 (#$ |
|00005e90| 2e 20 32 33 35 34 31 29 | 20 22 50 22 5d 29 0a 23 |. 23541)| "P"]).#|
|00005ea0| 40 35 30 20 48 69 73 74 | 6f 72 79 20 66 6f 72 20 |@50 Hist|ory for |
|00005eb0| 63 6f 6e 66 69 72 6d 61 | 74 69 6f 6e 20 6f 66 20 |confirma|tion of |
|00005ec0| 61 74 74 72 69 62 75 74 | 69 6f 6e 20 73 74 72 69 |attribut|ion stri|
|00005ed0| 6e 67 73 2e 1f 0a 28 64 | 65 66 76 61 72 20 73 63 |ngs...(d|efvar sc|
|00005ee0| 2d 61 74 74 72 69 62 75 | 74 69 6f 6e 2d 63 6f 6e |-attribu|tion-con|
|00005ef0| 66 69 72 6d 61 74 69 6f | 6e 2d 68 69 73 74 6f 72 |firmatio|n-histor|
|00005f00| 79 20 6e 69 6c 20 28 23 | 24 20 2e 20 32 34 32 32 |y nil (#|$ . 2422|
|00005f10| 38 29 29 0a 23 40 35 31 | 20 48 69 73 74 6f 72 79 |8)).#@51| History|
|00005f20| 20 66 6f 72 20 63 6f 6e | 66 69 72 6d 61 74 69 6f | for con|firmatio|
|00005f30| 6e 20 6f 66 20 61 74 74 | 72 69 62 75 74 69 6f 6e |n of att|ribution|
|00005f40| 20 70 72 65 66 69 78 65 | 73 2e 1f 0a 28 64 65 66 | prefixe|s...(def|
|00005f50| 76 61 72 20 73 63 2d 63 | 69 74 61 74 69 6f 6e 2d |var sc-c|itation-|
|00005f60| 63 6f 6e 66 69 72 6d 61 | 74 69 6f 6e 2d 68 69 73 |confirma|tion-his|
|00005f70| 74 6f 72 79 20 6e 69 6c | 20 28 23 24 20 2e 20 32 |tory nil| (#$ . 2|
|00005f80| 34 33 34 35 29 29 0a 23 | 40 32 39 33 20 45 78 74 |4345)).#|@293 Ext|
|00005f90| 72 61 63 74 20 74 68 65 | 20 61 75 74 68 6f 72 27 |ract the| author'|
|00005fa0| 73 20 65 6d 61 69 6c 20 | 74 65 72 6d 69 6e 75 73 |s email |terminus|
|00005fb0| 20 66 72 6f 6d 20 65 6d | 61 69 6c 20 61 64 64 72 | from em|ail addr|
|00005fc0| 65 73 73 20 46 52 4f 4d | 2e 0a 4d 61 74 63 68 20 |ess FROM|..Match |
|00005fd0| 61 64 64 72 65 73 73 65 | 73 20 6f 66 20 74 68 65 |addresse|s of the|
|00005fe0| 20 73 74 79 6c 65 20 60 | 60 6e 61 6d 65 25 5b 73 | style `|`name%[s|
|00005ff0| 74 75 66 66 5d 2e 27 27 | 20 77 68 65 6e 20 63 61 |tuff].''| when ca|
|00006000| 6c 6c 65 64 20 77 69 74 | 68 20 44 45 4c 49 4d 0a |lled wit|h DELIM.|
|00006010| 6f 66 20 22 25 22 20 61 | 6e 64 20 61 64 64 72 65 |of "%" a|nd addre|
|00006020| 73 73 65 73 20 6f 66 20 | 74 68 65 20 73 74 79 6c |sses of |the styl|
|00006030| 65 20 60 60 5b 73 74 75 | 66 66 5d 6e 61 6d 65 40 |e ``[stu|ff]name@|
|00006040| 5b 73 74 75 66 66 5d 27 | 27 20 77 68 65 6e 0a 63 |[stuff]'|' when.c|
|00006050| 61 6c 6c 65 64 20 77 69 | 74 68 20 44 45 4c 49 4d |alled wi|th DELIM|
|00006060| 20 22 40 22 2e 20 20 49 | 66 20 44 45 4c 49 4d 20 | "@". I|f DELIM |
|00006070| 69 73 20 6e 69 6c 20 6f | 72 20 6e 6f 74 20 70 72 |is nil o|r not pr|
|00006080| 6f 76 69 64 65 64 2c 20 | 6d 61 74 63 68 65 73 0a |ovided, |matches.|
|00006090| 61 64 64 72 65 73 73 65 | 73 20 6f 66 20 74 68 65 |addresse|s of the|
|000060a0| 20 73 74 79 6c 65 20 60 | 60 6e 61 6d 65 27 27 2e | style `|`name''.|
|000060b0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 73 63 2d |..(defal|ias 'sc-|
|000060c0| 61 74 74 72 69 62 73 2d | 25 40 2d 61 64 64 72 65 |attribs-|%@-addre|
|000060d0| 73 73 65 73 20 23 5b 28 | 66 72 6f 6d 20 26 6f 70 |sses #[(|from &op|
|000060e0| 74 69 6f 6e 61 6c 20 64 | 65 6c 69 6d 29 20 22 c0 |tional d|elim) ".|
|000060f0| c1 5c 6e 50 0b c4 23 85 | 1a 00 0b c4 94 c4 95 5c |.\nP..#.|.......\|
|00006100| 6e 84 17 00 c4 82 18 00 | c5 5a 4f 87 22 20 5b 73 |n.......|.ZO." [s|
|00006110| 74 72 69 6e 67 2d 6d 61 | 74 63 68 20 22 5b 2d 61 |tring-ma|tch "[-a|
|00006120| 2d 7a 41 2d 5a 30 2d 39 | 5f 2e 5d 2b 22 20 64 65 |-zA-Z0-9|_.]+" de|
|00006130| 6c 69 6d 20 66 72 6f 6d | 20 30 20 31 5d 20 34 20 |lim from| 0 1] 4 |
|00006140| 28 23 24 20 2e 20 32 34 | 34 36 31 29 5d 29 0a 23 |(#$ . 24|461)]).#|
|00006150| 40 31 32 37 20 45 78 74 | 72 61 63 74 20 74 68 65 |@127 Ext|ract the|
|00006160| 20 61 75 74 68 6f 72 27 | 73 20 65 6d 61 69 6c 20 | author'|s email |
|00006170| 74 65 72 6d 69 6e 75 73 | 20 66 72 6f 6d 20 65 6d |terminus| from em|
|00006180| 61 69 6c 20 61 64 64 72 | 65 73 73 20 46 52 4f 4d |ail addr|ess FROM|
|00006190| 2e 0a 4d 61 74 63 68 20 | 61 64 64 72 65 73 73 65 |..Match |addresse|
|000061a0| 73 20 6f 66 20 74 68 65 | 20 73 74 79 6c 65 20 60 |s of the| style `|
|000061b0| 60 5b 73 74 75 66 66 5d | 21 5b 73 74 75 66 66 5d |`[stuff]|![stuff]|
|000061c0| 2e 2e 2e 21 6e 61 6d 65 | 5b 73 74 75 66 66 5d 2e |...!name|[stuff].|
|000061d0| 27 27 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 73 |''..(def|alias 's|
|000061e0| 63 2d 61 74 74 72 69 62 | 73 2d 21 2d 61 64 64 72 |c-attrib|s-!-addr|
|000061f0| 65 73 73 65 73 20 23 5b | 28 66 72 6f 6d 29 20 22 |esses #[|(from) "|
|00006200| 08 47 c1 c2 08 c3 23 c3 | 95 1c 1d 1e 06 0d 85 23 |.G....#.|.......#|
|00006210| 00 08 0d 54 5c 66 89 0e | 06 55 83 20 00 c3 82 21 |...T\f..|.U. ...!|
|00006220| 00 c7 5a 4f 2b 87 22 20 | 5b 66 72 6f 6d 20 73 74 |..ZO+." |[from st|
|00006230| 72 69 6e 67 2d 6d 61 74 | 63 68 20 22 21 5b 2d 61 |ring-mat|ch "![-a|
|00006240| 2d 7a 41 2d 5a 30 2d 39 | 5f 2e 5d 2b 5c 5c 28 5b |-zA-Z0-9|_.]+\\([|
|00006250| 5e 2d 21 61 2d 7a 41 2d | 5a 30 2d 39 5f 2e 5d 5c |^-!a-zA-|Z0-9_.]\|
|00006260| 5c 7c 24 5c 5c 29 22 20 | 30 20 6d 65 6e 64 20 6d |\|$\\)" |0 mend m|
|00006270| 73 74 61 72 74 20 65 6f | 73 20 31 5d 20 35 20 28 |start eo|s 1] 5 (|
|00006280| 23 24 20 2e 20 32 34 39 | 31 37 29 5d 29 0a 23 40 |#$ . 249|17)]).#@|
|00006290| 31 31 30 20 45 78 74 72 | 61 63 74 20 74 68 65 20 |110 Extr|act the |
|000062a0| 61 75 74 68 6f 72 27 73 | 20 65 6d 61 69 6c 20 74 |author's| email t|
|000062b0| 65 72 6d 69 6e 75 73 20 | 66 72 6f 6d 20 65 6d 61 |erminus |from ema|
|000062c0| 69 6c 20 61 64 64 72 65 | 73 73 20 46 52 4f 4d 2e |il addre|ss FROM.|
|000062d0| 0a 4d 61 74 63 68 20 61 | 64 64 72 65 73 73 65 73 |.Match a|ddresses|
|000062e0| 20 6f 66 20 74 68 65 20 | 73 74 79 6c 65 20 60 60 | of the |style ``|
|000062f0| 3c 6e 61 6d 65 5b 73 74 | 75 66 66 5d 3e 2e 27 27 |<name[st|uff]>.''|
|00006300| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 73 63 2d |..(defal|ias 'sc-|
|00006310| 61 74 74 72 69 62 73 2d | 3c 3e 2d 61 64 64 72 65 |attribs-|<>-addre|
|00006320| 73 73 65 73 20 23 5b 28 | 66 72 6f 6d 29 20 22 c0 |sses #[(|from) ".|
|00006330| c1 5c 6e 5c 22 85 0b 00 | c3 c4 5c 6e 5c 22 87 22 |.\n\"...|..\n\"."|
|00006340| 20 5b 73 74 72 69 6e 67 | 2d 6d 61 74 63 68 20 22 | [string|-match "|
|00006350| 3c 5c 5c 28 2e 2a 5c 5c | 29 3e 22 20 66 72 6f 6d |<\\(.*\\|)>" from|
|00006360| 20 73 63 2d 73 75 62 6d | 61 74 63 68 20 31 5d 20 | sc-subm|atch 1] |
|00006370| 33 20 28 23 24 20 2e 20 | 32 35 32 33 36 29 5d 29 |3 (#$ . |25236)])|
|00006380| 0a 23 40 31 30 39 20 47 | 65 74 20 74 68 65 20 66 |.#@109 G|et the f|
|00006390| 75 6c 6c 20 65 6d 61 69 | 6c 20 61 64 64 72 65 73 |ull emai|l addres|
|000063a0| 73 20 70 61 74 68 20 66 | 72 6f 6d 20 46 52 4f 4d |s path f|rom FROM|
|000063b0| 2e 0a 41 55 54 48 4f 52 | 20 69 73 20 74 68 65 20 |..AUTHOR| is the |
|000063c0| 61 75 74 68 6f 72 27 73 | 20 6e 61 6d 65 20 28 77 |author's| name (w|
|000063d0| 68 69 63 68 20 69 73 20 | 72 65 6d 6f 76 65 64 20 |hich is |removed |
|000063e0| 66 72 6f 6d 20 74 68 65 | 20 61 64 64 72 65 73 73 |from the| address|
|000063f0| 29 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 73 |)...(def|alias 's|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.